Whamcloud - gitweb
Update for 1.33 release.
[tools/e2fsprogs.git] / lib / blkid / ChangeLog
1 2003-04-21  Theodore Ts'o  <tytso@mit.edu>
2
3         * Release of E2fsprogs 1.33
4
5 2003-04-19  Theodore Ts'o  <tytso@mit.edu>
6
7         * blkidP.h: Fix gcc -Wall warnings by using __inline__ instead of
8                 inline. 
9
10 2003-04-02  Theodore Ts'o  <tytso@mit.edu>
11
12         * probe.c, probe.h: Fix XFS superblock definition.  Add support to
13                 extract UUID and labels for JFS and romfs.  (Thanks to
14                 Janos Farkas <chexum@acomp.hu>.)
15
16 2003-03-30  Theodore Ts'o  <tytso@mit.edu>
17
18         * getsize.c: #include stat.h for the Apple Darwin port
19
20 2003-03-17  Theodore Ts'o  <tytso@mit.edu>
21
22         * cache.c: Initialize blkid_debug_mask to zero since some
23                 operating systems can't deal with variables in the common
24                 section in shared libraries.
25  
26         * getsize.c (blkid_get_dev_size): Fix Apple Darwin port.
27
28 2003-03-06    <tytso@mit.edu>
29
30         * devname.c (probe_one): Fix bug; if a partition has no known
31                 type, don't derference a null pointer and crash.
32
33 2003-03-06  Theodore Tso  <tytso@mit.edu>
34
35         * blkid_types.h.in: Don't redefine types if other e2fsprogs
36                 *_types.h files have been included already.
37
38         * list.h, probe.h: Use static inline instead of extern inline to
39                 comply with C99 inline support.
40
41         * devname.c (blkid_probe_all): Avoid GCC extension; don't
42                 initialize an array with the address of an automatic
43                 variable.
44
45         * Makefile.in: Eliminate -Wall as a C compiler option by default;
46                 it's not portable.
47
48 2003-03-02  Theodore Ts'o  <tytso@mit.edu>
49
50         * Makefile.in: Don't install list.h, since it's not used by the
51                 public blkid.h file.
52
53         * blkid_types.h.in: Change #ifndef protection to use _BLKID_TYPES_H
54
55 2003-03-01  Theodore Ts'o  <tytso@mit.edu>
56
57         * tag.c (blkid_set_tag): Fix bug; don't return an error when
58                 deleting a tag by setting the value to NULL.  This
59                 caused a failed device verification to loop forever in
60                 blkid_verify_devname().
61
62         * resolve.c (main): Update debugging test program so that it
63                 compiles with the latest blkid API changes.
64
65         * libblkid.3.in: Update manual page to reflect recent API changes.
66
67         * resolve.c (blkid_get_tag_value): If the passed-in cache is NULL,
68                 then get and release a temporary cache as a convenience to
69                 the calling application.
70                 (blkid_get_devname): If the passed in token does not
71                 contain an '=', and value is NULL, then return the passed
72                 in token.
73
74         * read.c (blkid_read_cache): Don't return 0 since blkid_read_cache
75                 now returns void.
76
77         * blkid.h: Add include of sys/types.h, since we use dev_t
78
79 2003-02-27  Theodore Ts'o  <tytso@mit.edu>
80
81         * resolve.c (blkid_get_tag_value): Rename function (used to be
82                 blkid_get_tagname_devname)
83
84 2003-02-22  Theodore Ts'o  <tytso@mit.edu>
85
86         * devname.c (blkid_probe_all), tag.c (blkid_find_dev_with_tag): 
87                 Call blkid_read_cache to make sure the in-core version of
88                 the data structure is the latest.  After probing all of
89                 the devices in blkid_probe_all() force the cache file to
90                 be written out, the probe_all represents a lot of effort
91                 that shouldn't be lost.
92
93         * tag.c (blkid_set_tag): Always replace an existing tag with the
94                 new value; we no longer suppor multiple tags with the same
95                 value attached to a device, as this was never really
96                 supported well, and significantly increased the code
97                 complexity.
98
99         * probe.c (probe_ext2): Change handling of ext2/ext3 filesystems.
100                 Ext3 filesystems are now always treated as ext2
101                 filesystems, with a special SEC_TYPE tag set to ext3.
102                 This was necessary because we now longer support multiple
103                 tags with the same name attached to a device.
104
105         * save.c (save_dev): Don't special case the TYPE tag; just write
106                 it out along with all of the normal tags.
107                 (blkid_flush_cache): Eliminate special case code for stdout.
108
109         * cache.c (blkid_new_cache, blkid_get_cache): Eliminate
110                 blkid_new_cache and fold into blkid_get_cache (moved to
111                 cache.c)
112
113         * read.c (blkid_read_cache): New function created from
114                 blkid_get_cache which used to be in read.c that only
115                 updates the in-core cache data structure from the file.
116                 Uses the file modification time of the cache file to
117                 determine whether the cache file needs to be re-read.
118
119         * cache.c, dev.c, devname.c, devno.c, probe.c, read.c, resolve.c,
120                 save.c, tag.c, blkidP.h: Add dynamic debugging
121                 capabilities, controlled by the environment variable
122                 BLKID_DEBUG. 
123
124 2003-02-16  Theodore Ts'o  <tytso@mit.edu>
125
126         * blkid.h, dev.c, devname.c, probe.c, read.c, resolve.c: Rename
127                 blkid_get_devname() to blkid_get_dev().  Also rename
128                 blkid_get_token() to blkid_get_devname().  This more
129                 accurately describes what these functions do.
130
131 2003-02-14  Theodore Ts'o  <tytso@mit.edu>
132
133         * blkidP.h, devname.c (blkid_get_devname), read.c (parse_tag),
134                 save.c (save_dev): Remove bid_id, as it is not used for
135                 anything.
136
137         * Makefile.in (blkid): When building the blkid, don't link against
138                 the shared blkid library; link only against the static
139                 blkid library.
140
141         * blkidP.h (struct blkid_struct_dev): Remove bid_size and
142                 bid_devsize (since they aren't used any more) and add
143                 bid_pri to the device structure.
144
145         * devname.c (probe_one, lvm_probe_all, evms_probe_all,
146                 blkid_probe_all): Set the bid_pri filed in the device
147                 structure depending on type of device so that EVMS, LVM,
148                 and MD devices get priority over normal devices.
149
150         * tag.c (blkid_find_dev_with_tag): When looking for a device that
151                 matches the search criteria, return the one with the
152                 largest priority (bid_pri).
153
154         * save.c (save_dev): Write out the PRI tag from bid_pri.
155
156         * read.c (parse_tag): Parse the PRI tag and store its value in
157                 bid_pri.
158
159         * probe.c (blkid_verify_devname): If the device does not exist
160                 (open returns ENOENT), treat this as a fatal error and
161                 release the device.  After verifying the device, set the
162                 cache as being modified so the changes are written out.
163
164         * resolve.c (main): Change the test driver to get a blkid cache
165                 and pass it to blkid_get_tagname_devname and
166                 blkid_get_token, as the cache is no longer optional.
167
168 2003-02-12  Theodore Ts'o  <tytso@mit.edu>
169
170         * blkid.h, blkidP.h, cache.c, dev.c, devname.c, devno.c, probe.c,
171                 probe.h, read.c, resolve.c, save.c, tag.c: Wholesale
172                 changes to library to simplify the implementation and
173                 shrink its size.  Change library version to be 1.0.
174
175 2003-01-27  Theodore Ts'o  <tytso@mit.edu>
176
177         * read.c (parse_tag): Do not return that blkid_tag when parsing
178                 the blkid.tag file.
179
180         * resolve.c (blkid_get_token, blkid_get_tagname_devname): Fold in
181                 code from removed functions
182
183         * tag.c (blkid_create_tag): Don't return the newly tag strcture
184                 any more, as it's not needed.
185                 (blkid_find_tag_cache, blkid_get_tag_cache,
186                  blkid_token_to_tag, blkid_find_tv_tags): Remove these 
187                 functions, as they are either only used once or have
188                 interfaces that should be deprecated.
189                 (blkid_find_tag_dev, blkid_find_head_cache): Replace use
190                 of blkid_tag with one or two const char * type/value
191                 arguments.
192                 (blkid_find_dev_with_tag): Fold in code from removed functions
193
194         * probe.h, probe.c: Use a more sophisticated set of byte-swapping
195                 routines which are more compact and efficient.  Drop
196                 calculation of bid_free, since it's unnecessary.  Avoid 
197
198         * save.c (blkid_save_cache): Set the permissions on the blkid
199                 cache file to 644.
200         
201 2003-01-25  Theodore Ts'o  <tytso@mit.edu>
202
203         * cache.c, dev.c, devname.c, devno.c, getsize.c, llseek.c, 
204                 probe.c, probe.h, read.c, resolve.c, save.c, tag.c, 
205                 blkid.h, blkidP.h: Separate public and private
206                 interfaces into separate header files.  Start
207                 separating internal implementation details from the
208                 publically exported interface.
209
210         * devname.c: Add support for EVMS
211
212         * blkid.h, cache.c, dev.c, devname.c, devno.c, probe.c, probe.h,
213                 read.c, resolve.c, save.c, tag.c: Fix gcc -Wall nits.
214
215 2003-01-24  Theodore Ts'o  <tytso@mit.edu>
216
217         * save.c (blkid_save_cache): Use mkstemp() instead mktemp().
218
219 2002-10-04  Jordan Breeding  <jordan.breeding@attbi.com>
220
221         * Forward port to e2fsprogs 1.30
222
223 2001-09-20  Andreas Dilger  <adilger@turbolinux.com>
224
225         * Initial release of libblkid.