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