1 2003-04-21 Theodore Ts'o <tytso@mit.edu>
3 * Release of E2fsprogs 1.33
5 2003-04-19 Theodore Ts'o <tytso@mit.edu>
7 * blkidP.h: Fix gcc -Wall warnings by using __inline__ instead of
10 2003-04-02 Theodore Ts'o <tytso@mit.edu>
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>.)
16 2003-03-30 Theodore Ts'o <tytso@mit.edu>
18 * getsize.c: #include stat.h for the Apple Darwin port
20 2003-03-17 Theodore Ts'o <tytso@mit.edu>
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.
26 * getsize.c (blkid_get_dev_size): Fix Apple Darwin port.
28 2003-03-06 <tytso@mit.edu>
30 * devname.c (probe_one): Fix bug; if a partition has no known
31 type, don't derference a null pointer and crash.
33 2003-03-06 Theodore Tso <tytso@mit.edu>
35 * blkid_types.h.in: Don't redefine types if other e2fsprogs
36 *_types.h files have been included already.
38 * list.h, probe.h: Use static inline instead of extern inline to
39 comply with C99 inline support.
41 * devname.c (blkid_probe_all): Avoid GCC extension; don't
42 initialize an array with the address of an automatic
45 * Makefile.in: Eliminate -Wall as a C compiler option by default;
48 2003-03-02 Theodore Ts'o <tytso@mit.edu>
50 * Makefile.in: Don't install list.h, since it's not used by the
53 * blkid_types.h.in: Change #ifndef protection to use _BLKID_TYPES_H
55 2003-03-01 Theodore Ts'o <tytso@mit.edu>
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().
62 * resolve.c (main): Update debugging test program so that it
63 compiles with the latest blkid API changes.
65 * libblkid.3.in: Update manual page to reflect recent API changes.
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
74 * read.c (blkid_read_cache): Don't return 0 since blkid_read_cache
77 * blkid.h: Add include of sys/types.h, since we use dev_t
79 2003-02-27 Theodore Ts'o <tytso@mit.edu>
81 * resolve.c (blkid_get_tag_value): Rename function (used to be
82 blkid_get_tagname_devname)
84 2003-02-22 Theodore Ts'o <tytso@mit.edu>
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.
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
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.
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.
109 * cache.c (blkid_new_cache, blkid_get_cache): Eliminate
110 blkid_new_cache and fold into blkid_get_cache (moved to
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.
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
124 2003-02-16 Theodore Ts'o <tytso@mit.edu>
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.
131 2003-02-14 Theodore Ts'o <tytso@mit.edu>
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
137 * Makefile.in (blkid): When building the blkid, don't link against
138 the shared blkid library; link only against the static
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.
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.
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).
154 * save.c (save_dev): Write out the PRI tag from bid_pri.
156 * read.c (parse_tag): Parse the PRI tag and store its value in
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.
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.
168 2003-02-12 Theodore Ts'o <tytso@mit.edu>
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.
175 2003-01-27 Theodore Ts'o <tytso@mit.edu>
177 * read.c (parse_tag): Do not return that blkid_tag when parsing
180 * resolve.c (blkid_get_token, blkid_get_tagname_devname): Fold in
181 code from removed functions
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
192 (blkid_find_dev_with_tag): Fold in code from removed functions
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
198 * save.c (blkid_save_cache): Set the permissions on the blkid
201 2003-01-25 Theodore Ts'o <tytso@mit.edu>
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.
210 * devname.c: Add support for EVMS
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.
215 2003-01-24 Theodore Ts'o <tytso@mit.edu>
217 * save.c (blkid_save_cache): Use mkstemp() instead mktemp().
219 2002-10-04 Jordan Breeding <jordan.breeding@attbi.com>
221 * Forward port to e2fsprogs 1.30
223 2001-09-20 Andreas Dilger <adilger@turbolinux.com>
225 * Initial release of libblkid.