blob: 022b4ba50cecc4d96314acf4db4292c84e70644b [file] [log] [blame]
Theodore Ts'o26258032004-04-03 10:20:26 -050012004-04-03 Theodore Ts'o <tytso@mit.edu>
2
Theodore Ts'odd607052004-04-03 13:53:46 -05003 * Makefile.in: Update the modtime even if subst doesn't need to
4 update the libblkid man page, to avoid always re-running
5 subst, especially since there are no dependencies on the
6 man page.
7
82004-04-03 Theodore Ts'o <tytso@mit.edu>
9
Theodore Ts'o26258032004-04-03 10:20:26 -050010 * blkid_types.h.in: Remove check for _UUID_TYPES since uuid_types.h
11 is no longer used.
12
Theodore Ts'o1cdb6f72004-03-21 20:16:19 -0500132004-03-21 Theodore Ts'o <tytso@mit.edu>
14
15 * getsize.c (blkid_get_dev_size): Don't close the file descriptor
16 when determining the size. This bug was introduced in the
17 previous getsize changes, and was screwing up the blkid
18 library probe functions. (Addresses Debian Bug #239191)
19
Theodore Ts'o2c5cfbc2004-03-08 14:12:09 -0500202004-03-08 Theodore Ts'o <tytso@mit.edu>
21
22 * getsize.c (blkid_get_dev_size): Only use the BLKGETSIZE64 ioctl
23 on Linux 2.6 since it is unreliable in Linux 2.4..
24 (Addresses Debian Bug #236528) Fix typo in the ioctl used
25 for Mac OS X.
26
Theodore Ts'o9387c282004-03-04 19:59:58 -0500272004-03-04 Theodore Ts'o <tytso@mit.edu>
28
29 * probe.c (probe_ocfs), probe.h: Add support for the Oracle
30 Cluster Filesystem (ocfs). Patches courtesy of Rusty
31 Lynch (rusty@linux.co.intel.com).
32
Theodore Ts'o85b87002004-03-02 10:11:11 -0500332004-03-02 Theodore Ts'o <tytso@mit.edu>
34
35 * getsize.c (blkid_get_dev_size): Update getsize functions to use
36 Apple Darwin and Linux 64-bit ioctl's
37
Theodore Ts'o434661f2004-02-29 22:46:49 -0500382004-02-29 Brian Bergstrand <brian@bergstrand.org>
39
40 * Makefile.in: Use $(BSDLIB_PIC_FLAG) to determine whether to use
41 -fpic or -fPIC
42
Theodore Ts'ob70b1162004-02-28 10:52:35 -0500432004-02-28 Theodore Ts'o <tytso@mit.edu>
44
45 * Release of E2fsprogs 1.35
46
Theodore Ts'o54434922003-12-07 01:28:50 -0500472003-12-07 Theodore Ts'o <tytso@mit.edu>
48
49 * probe.c, read.c, blkidP.h: Fix gcc -Wall nitpicks.
50
Theodore Ts'o9c7ec172003-07-26 01:03:34 -0400512003-07-25 Theodore Ts'o <tytso@mit.edu>
52
53 * Release of E2fsprogs 1.34
54
Theodore Ts'o3de5bf62003-07-22 01:06:36 -0400552003-07-22 Theodore Ts'o <tytso@mit.edu>
56
57 * probe.c (probe_udf): Add specific UDF probing code, and probe
58 UDF before checking for ISO9660 filesystems.
59
Theodore Ts'o78e2edf2003-07-21 19:42:19 -0400602003-07-21 Theodore Ts'o <tytso@mit.edu>
61
62 * probe.c (blkid_known_fstype): New function which returns true if
63 the filesystem type is one which this blkid library supports.
64
Theodore Ts'oa30b9442003-07-20 11:22:34 -0400652003-07-20 Theodore Ts'o <tytso@mit.edu>
66
67 * probe.c: When revalidating a filesystem, delete the LABEL tag if
68 the filesystem no longer has a label.
69
Theodore Ts'o849c6102003-07-18 19:10:28 -0400702003-07-18 Theodore Ts'o <tytso@mit.edu>
71
72 * tag.c (blkid_find_dev_with_tag): If blkid_probe_all() returns an
73 error, then reflect that error upwards; don't try again
74 (forever). This prevents an infinite loop when /proc and
75 the /etc/blkid.tab file are not present.
76
Theodore Ts'o48e6e812003-07-06 00:36:48 -0400772003-07-06 Theodore Ts'o <tytso@mit.edu>
78
79 * blkid_types.h.in: Fix gcc -Wall nitpicks (don't use #elsif)
80
81 * cache.c: Fix gcc -Wall nitpicks (missing #include <string.h>)
82
83 * probe.h: Fix gcc -Wall nitpicks (missing casts)
84
Theodore Ts'od339f262003-05-21 17:56:36 -0400852003-05-21 Theodore Ts'o <tytso@mit.edu>
86
87 * Makefile.in (ELF_OTHER_LIBS): The blkid library depends on the
88 uuid library. (Addresses Debian bug: #194094)
89
Theodore Ts'o71df0dc2003-04-21 16:17:09 -0400902003-04-21 Theodore Ts'o <tytso@mit.edu>
91
92 * Release of E2fsprogs 1.33
93
Theodore Ts'o520ead32003-04-19 13:48:27 -0400942003-04-19 Theodore Ts'o <tytso@mit.edu>
95
96 * blkidP.h: Fix gcc -Wall warnings by using __inline__ instead of
97 inline.
98
Theodore Ts'o09a2ef82003-04-03 00:04:28 -0500992003-04-02 Theodore Ts'o <tytso@mit.edu>
100
101 * probe.c, probe.h: Fix XFS superblock definition. Add support to
102 extract UUID and labels for JFS and romfs. (Thanks to
103 Janos Farkas <chexum@acomp.hu>.)
104
Theodore Ts'o0faabe52003-03-30 23:08:32 -05001052003-03-30 Theodore Ts'o <tytso@mit.edu>
106
107 * getsize.c: #include stat.h for the Apple Darwin port
108
Theodore Ts'oaa75ecc2003-03-17 10:01:22 -05001092003-03-17 Theodore Ts'o <tytso@mit.edu>
110
Theodore Ts'o88fe61c2003-03-17 18:13:57 -0500111 * cache.c: Initialize blkid_debug_mask to zero since some
112 operating systems can't deal with variables in the common
113 section in shared libraries.
114
Theodore Ts'oaa75ecc2003-03-17 10:01:22 -0500115 * getsize.c (blkid_get_dev_size): Fix Apple Darwin port.
116
Theodore Ts'ocd0d5212003-03-06 12:58:03 -05001172003-03-06 <tytso@mit.edu>
118
119 * devname.c (probe_one): Fix bug; if a partition has no known
120 type, don't derference a null pointer and crash.
121
Theodore Ts'oed78c022003-03-06 11:09:18 -05001222003-03-06 Theodore Tso <tytso@mit.edu>
123
124 * blkid_types.h.in: Don't redefine types if other e2fsprogs
125 *_types.h files have been included already.
126
127 * list.h, probe.h: Use static inline instead of extern inline to
128 comply with C99 inline support.
129
130 * devname.c (blkid_probe_all): Avoid GCC extension; don't
131 initialize an array with the address of an automatic
132 variable.
133
134 * Makefile.in: Eliminate -Wall as a C compiler option by default;
135 it's not portable.
136
Theodore Ts'o94ba8c72003-03-02 02:07:14 -05001372003-03-02 Theodore Ts'o <tytso@mit.edu>
138
139 * Makefile.in: Don't install list.h, since it's not used by the
140 public blkid.h file.
141
142 * blkid_types.h.in: Change #ifndef protection to use _BLKID_TYPES_H
143
Theodore Ts'oed1b33e2003-03-01 19:29:01 -05001442003-03-01 Theodore Ts'o <tytso@mit.edu>
145
Theodore Ts'o7e893042003-03-01 22:57:31 -0500146 * tag.c (blkid_set_tag): Fix bug; don't return an error when
147 deleting a tag by setting the value to NULL. This
148 caused a failed device verification to loop forever in
149 blkid_verify_devname().
150
Theodore Ts'o28595222003-03-01 20:01:27 -0500151 * resolve.c (main): Update debugging test program so that it
152 compiles with the latest blkid API changes.
153
154 * libblkid.3.in: Update manual page to reflect recent API changes.
155
Theodore Ts'oed1b33e2003-03-01 19:29:01 -0500156 * resolve.c (blkid_get_tag_value): If the passed-in cache is NULL,
157 then get and release a temporary cache as a convenience to
158 the calling application.
159 (blkid_get_devname): If the passed in token does not
160 contain an '=', and value is NULL, then return the passed
161 in token.
162
163 * read.c (blkid_read_cache): Don't return 0 since blkid_read_cache
164 now returns void.
165
166 * blkid.h: Add include of sys/types.h, since we use dev_t
167
Theodore Ts'o1549a442003-02-27 19:33:36 -05001682003-02-27 Theodore Ts'o <tytso@mit.edu>
169
170 * resolve.c (blkid_get_tag_value): Rename function (used to be
171 blkid_get_tagname_devname)
172
Theodore Ts'of0a22d02003-02-22 13:19:53 -05001732003-02-22 Theodore Ts'o <tytso@mit.edu>
174
Theodore Ts'o79dd2342003-02-22 17:15:20 -0500175 * devname.c (blkid_probe_all), tag.c (blkid_find_dev_with_tag):
176 Call blkid_read_cache to make sure the in-core version of
177 the data structure is the latest. After probing all of
178 the devices in blkid_probe_all() force the cache file to
179 be written out, the probe_all represents a lot of effort
180 that shouldn't be lost.
181
182 * tag.c (blkid_set_tag): Always replace an existing tag with the
183 new value; we no longer suppor multiple tags with the same
184 value attached to a device, as this was never really
185 supported well, and significantly increased the code
186 complexity.
187
188 * probe.c (probe_ext2): Change handling of ext2/ext3 filesystems.
189 Ext3 filesystems are now always treated as ext2
190 filesystems, with a special SEC_TYPE tag set to ext3.
191 This was necessary because we now longer support multiple
192 tags with the same name attached to a device.
193
194 * save.c (save_dev): Don't special case the TYPE tag; just write
195 it out along with all of the normal tags.
196 (blkid_flush_cache): Eliminate special case code for stdout.
197
198 * cache.c (blkid_new_cache, blkid_get_cache): Eliminate
199 blkid_new_cache and fold into blkid_get_cache (moved to
200 cache.c)
201
202 * read.c (blkid_read_cache): New function created from
203 blkid_get_cache which used to be in read.c that only
204 updates the in-core cache data structure from the file.
205 Uses the file modification time of the cache file to
206 determine whether the cache file needs to be re-read.
207
Theodore Ts'of0a22d02003-02-22 13:19:53 -0500208 * cache.c, dev.c, devname.c, devno.c, probe.c, read.c, resolve.c,
209 save.c, tag.c, blkidP.h: Add dynamic debugging
210 capabilities, controlled by the environment variable
211 BLKID_DEBUG.
212
Theodore Ts'o98999c32003-02-16 00:47:07 -05002132003-02-16 Theodore Ts'o <tytso@mit.edu>
214
215 * blkid.h, dev.c, devname.c, probe.c, read.c, resolve.c: Rename
216 blkid_get_devname() to blkid_get_dev(). Also rename
217 blkid_get_token() to blkid_get_devname(). This more
218 accurately describes what these functions do.
219
Theodore Ts'oce72b862003-02-14 01:31:45 -05002202003-02-14 Theodore Ts'o <tytso@mit.edu>
221
Theodore Ts'obc40efd2003-02-14 01:40:23 -0500222 * blkidP.h, devname.c (blkid_get_devname), read.c (parse_tag),
223 save.c (save_dev): Remove bid_id, as it is not used for
224 anything.
225
Theodore Ts'oce72b862003-02-14 01:31:45 -0500226 * Makefile.in (blkid): When building the blkid, don't link against
227 the shared blkid library; link only against the static
228 blkid library.
229
230 * blkidP.h (struct blkid_struct_dev): Remove bid_size and
231 bid_devsize (since they aren't used any more) and add
232 bid_pri to the device structure.
233
234 * devname.c (probe_one, lvm_probe_all, evms_probe_all,
235 blkid_probe_all): Set the bid_pri filed in the device
236 structure depending on type of device so that EVMS, LVM,
237 and MD devices get priority over normal devices.
238
239 * tag.c (blkid_find_dev_with_tag): When looking for a device that
240 matches the search criteria, return the one with the
241 largest priority (bid_pri).
242
243 * save.c (save_dev): Write out the PRI tag from bid_pri.
244
245 * read.c (parse_tag): Parse the PRI tag and store its value in
246 bid_pri.
247
248 * probe.c (blkid_verify_devname): If the device does not exist
249 (open returns ENOENT), treat this as a fatal error and
250 release the device. After verifying the device, set the
251 cache as being modified so the changes are written out.
252
253 * resolve.c (main): Change the test driver to get a blkid cache
254 and pass it to blkid_get_tagname_devname and
255 blkid_get_token, as the cache is no longer optional.
256
Theodore Ts'o50b380b2003-02-12 23:51:21 -05002572003-02-12 Theodore Ts'o <tytso@mit.edu>
258
259 * blkid.h, blkidP.h, cache.c, dev.c, devname.c, devno.c, probe.c,
260 probe.h, read.c, resolve.c, save.c, tag.c: Wholesale
261 changes to library to simplify the implementation and
262 shrink its size. Change library version to be 1.0.
263
Theodore Ts'o76b07bb2003-01-27 01:09:24 -05002642003-01-27 Theodore Ts'o <tytso@mit.edu>
265
266 * read.c (parse_tag): Do not return that blkid_tag when parsing
267 the blkid.tag file.
268
269 * resolve.c (blkid_get_token, blkid_get_tagname_devname): Fold in
270 code from removed functions
271
272 * tag.c (blkid_create_tag): Don't return the newly tag strcture
273 any more, as it's not needed.
274 (blkid_find_tag_cache, blkid_get_tag_cache,
275 blkid_token_to_tag, blkid_find_tv_tags): Remove these
276 functions, as they are either only used once or have
277 interfaces that should be deprecated.
278 (blkid_find_tag_dev, blkid_find_head_cache): Replace use
279 of blkid_tag with one or two const char * type/value
280 arguments.
281 (blkid_find_dev_with_tag): Fold in code from removed functions
282
283 * probe.h, probe.c: Use a more sophisticated set of byte-swapping
284 routines which are more compact and efficient. Drop
285 calculation of bid_free, since it's unnecessary. Avoid
286
287 * save.c (blkid_save_cache): Set the permissions on the blkid
288 cache file to 644.
289
Theodore Ts'od3f91792003-01-25 00:26:48 -05002902003-01-25 Theodore Ts'o <tytso@mit.edu>
291
Theodore Ts'o7a603aa2003-01-26 01:54:39 -0500292 * cache.c, dev.c, devname.c, devno.c, getsize.c, llseek.c,
293 probe.c, probe.h, read.c, resolve.c, save.c, tag.c,
294 blkid.h, blkidP.h: Separate public and private
295 interfaces into separate header files. Start
296 separating internal implementation details from the
297 publically exported interface.
298
Theodore Ts'o0f3ac4802003-01-25 18:44:33 -0500299 * devname.c: Add support for EVMS
300
Theodore Ts'od3f91792003-01-25 00:26:48 -0500301 * blkid.h, cache.c, dev.c, devname.c, devno.c, probe.c, probe.h,
302 read.c, resolve.c, save.c, tag.c: Fix gcc -Wall nits.
303
Theodore Ts'o3a1d6f32003-01-24 23:11:29 -05003042003-01-24 Theodore Ts'o <tytso@mit.edu>
305
306 * save.c (blkid_save_cache): Use mkstemp() instead mktemp().
307
Theodore Ts'oe12f2ae2003-01-23 16:45:16 -05003082002-10-04 Jordan Breeding <jordan.breeding@attbi.com>
309
310 * Forward port to e2fsprogs 1.30
311
3122001-09-20 Andreas Dilger <adilger@turbolinux.com>
313
314 * Initial release of libblkid.