OSDN Git Service

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