]> git.ipfire.org Git - thirdparty/e2fsprogs.git/blame - lib/blkid/ChangeLog
Update e2fsprogs.pot for translators
[thirdparty/e2fsprogs.git] / lib / blkid / ChangeLog
CommitLineData
d7b64725
TT
12006-06-24 Theodore Ts'o <tytso@mit.edu>
2
3 * Release of E2fsprogs 1.40
4
e382a7ea
KH
52007-05-22 Karsten Hopp <karsten@redhat.com>
6
7 * probe.c (probe_luks): Add support for cryptsetup-luks partitions
8
cb0c5d70
TT
92007-06-19 Theodore Tso <tytso@mit.edu>
10
11 * probe.c (probe_ntfs): Add probe function which is more paranoid
12 about checking for a valid NTFS partition, and which sets
13 the UUID and LABEL information. (Addresses Launchpad Bug
14 #110138)
15
de8f3a76
AD
162007-05-23 Theodore Tso <tytso@mit.edu>
17
18 * getsize.c (main), read.c (parse_dev), tst_types.c (main): Fix
19 gcc -Wall warnings on 64-bit systems.
20
6fb57a92
TT
212007-05-18 Theodore Tso <tytso@mit.edu>
22
23 * tag.c (blkid_set_tag): Fix bug where bid_type, bid_label, and
24 bid_uuid could get corrupted if their corresponding tag is
25 set to its original value using blkid_set_tag().
26
72923552
TT
272007-05-17 Theodore Tso <tytso@mit.edu>
28
29 * cache.c (blkid_gc_cache): New function which removes any devices
30 from the blkid cache if the device node does not exist.
31
e0a700d4
BB
322007-03-23 Theodore Tso <tytso@mit.edu>
33
34 * read.c (parse_dev): Fix memory leak on error path.
35
5f7fe7fe
TT
362007-03-21 Theodore Tso <tytso@mit.edu>
37
38 * resolve.c (blkid_get_devname): Fix memory leak.
39
d90be5b1
TT
402007-03-18 Theodore Tso <tytso@mit.edu>
41
42 * tag.c (blkid_dev_has_tag): Allow value to be NULL, in which case
43 blkid_dev_has_tag() will return TRUE if the passed-in tag
44 exists --- reasonable functionality given the function name.
45
257ace82
TT
462007-03-06 Theodore Tso <tytso@mit.edu>
47
48 * devname.c (dm_probe_all), probe.c (blkid_verify): Fix memory
49 leak. (Addresses Debian Bug #413661)
50
5b984ab5
TT
512006-09-24 Theodore Tso <tytso@mit.edu>
52
53 * devno.c (scan_dir): Don't follow symlinks when recursively
54 searching directories under /dev.
55
633f453d
KZ
562006-09-17 Karel Zak <kzak@redhat.com>
57
58 * probe.c (probe_fat): Fix problem with empty FAT label.
59
b5517ca6
KZ
602006-09-17 Karel Zak <kzak@redhat.com>
61
62 * probe.c (probe_gfs, _gfs2), probe.h: Add support for GFS/GFS2
63
a02fa9be
TT
642006-09-12 Theodore Tso <tytso@mit.edu>
65
66 * devname.c (dm_probe_all): probe_one expects device names passed
67 to it w/o the leading "/dev".
68
cc6d1a9e
AD
692006-08-19 Andreas Dilger <adilger@clusterfs.com>
70
f776a235
AD
71 * blkid.8.in: Make the description of the -l option more accurate.
72
cc6d1a9e
AD
73 * Makefile.in (clean): Avoid removing the tst_*.c files, but
74 instead list each of the tst_* binaries explicitly.
75
49487b79
TT
762006-05-14 Theodore Tso <tytso@mit.edu>
77
78 * probe.c (probe_udf): Fix signed vs. unsigned lint warning;
79 better to use memcmp() rather than strncmp() anyway.
80
4ea7ea00
TT
812006-04-09 Theodore Ts'o <tytso@mit.edu>
82
83 * blkid_types.h.in, Makefile.in, tst_types.c: Use the asm_types.h
84 file to define the __[us]{8,16,32,64} types. Add a
85 tst_types program to make sure the types are correct.
86
2858c94e
TT
872006-03-23 Theodore Ts'o <tytso@mit.edu>
88
89 * probe.c (blkid_verify): Fix file descriptor leak on error.
90
f4f425b2
TT
912006-03-19 Theodore Ts'o <tytso@mit.edu>
92
93 * devname.c (dm_probe_all, dm_device_is_leaf): Make the
94 libdevmapper fail quietly if blkid is called without root
95 privileges or the kernel does not include device mapper
96 support. (What is the device mapper _library_ doing
97 writing to stderr, anyway?)
98
e324b250
TT
992006-03-12 Theodore Ts'o <tytso@mit.edu>
100
101 * probe.c (blkid_verify): Fix the bid_time sanity checking logic,
102 so that if last verification time is more recent than the
103 current time, or the comparison between the last
104 verification time and the current time causes an overflow,
105 a device verification will take place.
106
107 * devname.c (blkid_get_dev): Set the initial bid_time to be
108 INT_MIN, to guarantee that blkid_verify will always be run
109 even when the system clock is insane.
110
111 * dev.c (blkid_debug_dump_dev), read.c (debug_dump_dev),
112 save.c (save_dev): Fix the printf format for dev->bid_time
113 to match the fact that it is an signed type.
114
ba5e3849
TT
1152006-03-10 Theodore Ts'o <tytso@mit.edu>
116
117 * probe.c (probe_ext3): If the filesystem has an external journal,
118 store the UUID of the external journal in the tag
119 EXT_JOURNAL.
120 (blkid_verify): If the filesystem type has changed, clear
121 all the tags on the device, not just a preset list of
122 LABEL, UUID, TYPE, and SEC_TYPE.
123
124 * tag.c (blkid_set_tag): Fix a bug so that blkid_set_tag will work
125 correctly when freeing a tag when the input name parameter
126 comes from the tag that we are freeing.
127
43896121
TT
1282005-12-29 Theodore Ts'o <tytso@mit.edu>
129
130 * tag.c (main): Add missing parameter in error-handling printf of
131 the blkid test program tst_tag.
132
3ded50b3
TT
1332005-12-10 Theodore Ts'o <tytso@mit.edu>
134
135 * Makefile.in: Add a dependency to make sure that the
136 subdirectories are created before creating all of the
137 object files.
138
bb626bcd
TT
1392005-09-10 Theodore Ts'o <tytso@mit.edu>
140
2f79e519
TT
141 * probe.c (probe_fat): Search the root directory of FAT
142 filesystems for the label information.
143
ca749859
TT
144 * probe.c, probe.h: Change superblock and generic i/o functions to
145 be more generic. Clean up interface to the probe
146 function. Fix memory leak.
147
45a3fa87
TT
148 * probe.c, probe.h: Extract basic iso9660 label information.
149
bb626bcd
TT
150 * probe.c, probe.h: Add support for resier4 filesystem.
151
45d1d889
TT
1522005-09-07 Theodore Ts'o <tytso@mit.edu>
153
038d2bed
TT
154 * probe.c: Collapse vfat and fat code and make it more paranoid
155 when probing for vat/fat filesystems.
156
45d1d889
TT
157 * resolve.c: Remove unneeded probe.h header file.
158
05a6edf4
KZ
1592005-09-05 Karel Zak <kzak@redhat.com>
160
c4c740ff
KZ
161 * probe.c (probe_vfat_nomagic): Add support for detecting VFAT
162 filesystems even when the magic string isn't in the FAT
163 super block.
164
abaa1124
KZ
165 * probe.c: Add support for detecting software suspend partitions
166
05a6edf4
KZ
167 * probe.c (probe_ext2): Check to see if a journal has been added
168 to an ext2 filesystem when revalidating cached information
169 about an ext2 device.
170
583d1f83
TT
1712005-07-25 Theodore Ts'o <tytso@mit.edu>
172
173 * cache.c (safe_getenv): Pass in zero to the unusued arguments of
174 prctl(PR_GET_DUMPABLE) to avoid false positives from
175 valgrind.
176
9b7d811d
AD
1772005-07-09 Andreas Dilger <adilger@clusterfs.com>
178
179 * getsize.c (blkid_get_dev_size): Use fstat/fstat64 to get size of
180 regular files.
181
1f965c8d
TT
1822006-06-30 Theodore Ts'o <tytso@mit.edu>
183
184 * Release of E2fsprogs 1.38
185
55080a76
TT
1862005-06-27 Theodore Ts'o <tytso@mit.edu>
187
188 * read.c, dev.c: Fix the debugging/TEST_PROGRAM code so that it is
189 sufficiently standalone that "make check" will compile
190 without errors even when configure "--enable-blkid-debug"
191 is not specified.
192
c37543df
TT
1932005-05-07 Theodore Ts'o <tytso@mit.edu>
194
ed6acfa3
TT
195 * tag.c (blkid_find_dev_with_tag): If a device can't be found with
196 the specified search arguments, probe all new devices
197 before trying to verify existing devices, as a speed
198 optimization.
199
200 * devname.c (blkid_probe_all_new): New function which only probes
201 devices are not known in the blkid cache. This takes
202 much less time than a full probe of all devices.
203
12b3c8ec
TT
204 * cache.c, dev.c, devno.c, probe.c, probe.h: Fix gcc -Wall nits.
205
78c7d0ef
TT
206 * blkidP.h, cache.c, dev.c, read.c, tag.c: Clean up the debugging
207 code so that we don't use the inline functions DEB_DUMP_*
208 and instead use the private functions blkid_debug_dump_*().
209
c37543df
TT
210 * tag.c (blkid_dev_has_tag): New function which returns 1 if a tag
211 has a particular type and possibly value.
212
213 * blkid.h, dev.c (blkid_dev_set_search, blkid_dev_next): Added new
214 function, blkid_dev_set_search(), which filters the
215 devices returned by the blkid_dev_next() iterator.
216
217 * tag.c, dev.c, Makefile.in: Add debugging test program code.
218
4c4e3f78
TT
2192005-05-05 Theodore Ts'o <tytso@mit.edu>
220
221 * probe.c (probe_cramfs), probe.h: Fix magic number recognition
222 for the cramfs filesystem, and add support to pull out the
223 label for cramfs filesystems. Thanks to Karel Zak (kzak
224 at redhat.com) for the patch.
225
762c7c65
TT
2262005-03-31 Theodore Ts'o <tytso@mit.edu>
227
228 * cache.c (blkid_get_cache): Use a much more paranoid
229 safe_getenv() function which will ignore the BLKID_FILE
230 environment varaible if the application program is setgid
231 or on a Linux system, if kernel doesn't think the process
232 is eligible to create a core dump. Also if glibc has
233 __secure_getenv(), then use it.
234
fd4b28ef
TT
2352005-03-21 Theodore Ts'o <tytso@mit.edu>
236
237 * Release of E2fsprogs 1.37
238
65ffef36
TT
2392005-03-21 Theodore Ts'o <tytso@mit.edu>
240
241 * cache.c (blkid_get_cache): Ignore the BLKID_FILE environment
242 variable if blkid_get_cache() is called from a setuid
243 program.
244
b22ea177
TT
2452005-03-16 Theodore Ts'o <tytso@mit.edu>
246
247 * getsize.c (blkid_get_dev_size): Fix compilation problem on
248 Darwin systems.
249
3eee5e9e
TT
2502006-02-05 Theodore Ts'o <tytso@mit.edu>
251
252 * Release of E2fsprogs 1.36
253
b7aa0d65
TT
2542005-02-05 Theodore Ts'o <tytso@mit.edu>
255
256 * Makefile.in: Remove blkid.pc on a "make distclean"
257
18d12963
TT
2582005-01-27 Theodore Ts'o <tytso@mit.edu>
259
260 * blkid.h, blkidP.h: Rename blkid_verify_devname() to be
261 blkid_verify(), and make it be a publically exported
262 function.
263
e6441865
TT
2642005-01-26 Theodore Ts'o <tytso@mit.edu>
265
32923fa4
TT
266 * version.c: Add functions to query the version of the blkid library.
267
e6441865
TT
268 * blkid.pc.in: Add pkg-config files.
269
9d0f4616
TT
2702005-01-25 Theodore Ts'o <tytso@mit.edu>
271
272 * probe.c: Windows can perform a "quick format" that doesn't clear
273 enough of the partition that the blkid probes can get
274 confused. Do the NTFS test first to deal with this
275 Windows misfeature. (Addresses Debian Bug #291990)
276
2c92375e
TT
2772005-01-21 Theodore Ts'o <tytso@mit.edu>
278
279 * probe.c (probe_oracleasm): Add support for recognizing Oracle
280 ASM volumes. Thanks to Manish Singh (manish.singh at
281 oracle.com) for supplying this patch.
282
8800c738
TT
2832005-01-18 Theodore Ts'o <tytso@mit.edu>
284
285 * Makefile.in: Fix the kernel compile-time echo commands to be
286 consistent and portable
287
f892826b
MA
2882005-01-13 Matthias Andree <matthias.andree@gmx.de>
289
290 * getsize.c: Move #include "blkidP.h" before <sys/queues.h> to avoid a
291 clash with the LIST_HEAD in the latter file.
292
7369f0ce
TT
2932005-01-10 Theodore Ts'o <tytso@mit.edu>
294
295 * probe.c: Integrate and fix up Janos Farkas's patch. Version 0
296 swap headers won't ever have uuid/labels. Also, if the
297 swap partition is recreated without a label, make sure
298 label in the blkid file gets freed.
299 (get_ext2_info, probe_vfat, probe_msdos, probe_reiserfs):
300 Make sure the label is cleared from the blkid file if the
301 label gets cleared from the filesystem.
302 (probe_romfs): Avoid dereferencing a null pointer of the
303 label is not present.
304
3052005-01-10 Janos Farkas <chexum+dev@gmail.com>
306
307 * probe.h: Define linux swap format.
308
309 * probe.c: Fetch uuid/label from swap headers if present. Mark
310 swap types as needing extra probe.
311
2e6a9feb
TT
3122005-01-05 Theodore Ts'o <tytso@mit.edu>
313
314 * save.c (save_dev): Don't save relative pathnames since they
315 won't be useful to another process.
316
317 * devname.c (probe_one): Make sure the device is a block device
318 before checking st_rdev.
319
320 * probe.c (probe_msdos): Mark msdos filesystems as type vfat, with
321 a SEC_TYPE of msdos, so that mount will use vfat to mount
322 msdos filesystems. (Addresses Debian bug #287455)
323 (probe_ext3): For ext3 filesystems, return a type of ext3
324 and a SEC_TYPE of ext2, for similar reasons as above.
325 (blkid_verify_devname): Allow non-block devices to be
326 verified, for testing purposes.
327
6d402278
TT
3282004-12-14 Theodore Ts'o <tytso@mit.edu>
329
522798d3
TT
330 * Makefile.in: Use Linux-kernel-style makefile output for "make
331 install"
332
6d402278
TT
333 * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro
334
47204ff9
TT
3352004-11-30 Theodore Ts'o <tytso@mit.edu>
336
3838f7df
TT
337 * probe.c, probe.h: Avoid using uint and uchar types, to allow
338 compilation using dietlibc.
339
47204ff9
TT
340 * Makefile.in: Use Linux-kernel-style makefile output to make it
341 easier to see errors/warnings.
342
4b8f81aa
TT
3432004-11-19 Theodore Ts'o <tytso@mit.edu>
344
345 * probe.c (probe_ocfs): Fix bug where the wrong size for "ocfs1"
346 was being passed to blkid_set_tag(). Thanks to Andrea
347 Dilger for pointing this out.
348
488f3c2d
TT
3492004-09-17 Theodore Ts'o <tytso@mit.edu>
350
414846b1
TT
351 * probe.c, probe.h: Add support for ocfs2 detection, courtesy of
352 manish.singh@oracle.com
353
9845cf5d
TT
354 * getsize.c: Clean up header #include's. Include sys/disk.h if
355 present since this is the new place where the
356 DIOCGMEDIASIZE ioctl is defined on FreeBSD systems.
357 (Addresses Debian bug #264630)
358
488f3c2d
TT
359 * llseek.c (blkid_llseek): On non-linux systems, use lseek64() if
360 it is present. (Addresses Debian bug #269044)
361
1b510f57
TT
3622004-05-12 Theodore Ts'o <tytso@mit.edu>
363
364 * read.c (blkid_read_cache): Add missing fclose() which was
365 causing a memory and file descriptor leak. Thanks to
366 magnus.fromreide at teligent.se.
367
7ce08064
TT
3682004-04-19 Theodore Ts'o <tytso@mit.edu>
369
370 * probe.c (blkid_verify_devname): If the time is earlier than the
371 last modified time of the device, then force a reverify;
372 it means the system time may not be trustworthy.
373
7a3a386b
TT
3742004-04-12 Theodore Ts'o <tytso@mit.edu>
375
376 * cache.c (blkid_get_cache): If the BLKID_FILE environment
377 variable is set, use it to find the blkid.tab file if the
378 calling application did not supply a filename.
379
dd607056
TT
3802004-04-03 Theodore Ts'o <tytso@mit.edu>
381
382 * Makefile.in: Update the modtime even if subst doesn't need to
383 update the libblkid man page, to avoid always re-running
384 subst, especially since there are no dependencies on the
385 man page.
386
2625803e
TT
3872004-04-03 Theodore Ts'o <tytso@mit.edu>
388
389 * blkid_types.h.in: Remove check for _UUID_TYPES since uuid_types.h
390 is no longer used.
391
1cdb6f76
TT
3922004-03-21 Theodore Ts'o <tytso@mit.edu>
393
394 * getsize.c (blkid_get_dev_size): Don't close the file descriptor
395 when determining the size. This bug was introduced in the
396 previous getsize changes, and was screwing up the blkid
397 library probe functions. (Addresses Debian Bug #239191)
398
2c5cfbcb
TT
3992004-03-08 Theodore Ts'o <tytso@mit.edu>
400
401 * getsize.c (blkid_get_dev_size): Only use the BLKGETSIZE64 ioctl
402 on Linux 2.6 since it is unreliable in Linux 2.4..
403 (Addresses Debian Bug #236528) Fix typo in the ioctl used
404 for Mac OS X.
405
9387c281
TT
4062004-03-04 Theodore Ts'o <tytso@mit.edu>
407
408 * probe.c (probe_ocfs), probe.h: Add support for the Oracle
409 Cluster Filesystem (ocfs). Patches courtesy of Rusty
410 Lynch (rusty@linux.co.intel.com).
411
85b87003
TT
4122004-03-02 Theodore Ts'o <tytso@mit.edu>
413
414 * getsize.c (blkid_get_dev_size): Update getsize functions to use
415 Apple Darwin and Linux 64-bit ioctl's
416
434661f8
TT
4172004-02-29 Brian Bergstrand <brian@bergstrand.org>
418
419 * Makefile.in: Use $(BSDLIB_PIC_FLAG) to determine whether to use
420 -fpic or -fPIC
421
b70b1167
TT
4222004-02-28 Theodore Ts'o <tytso@mit.edu>
423
424 * Release of E2fsprogs 1.35
425
54434927
TT
4262003-12-07 Theodore Ts'o <tytso@mit.edu>
427
428 * probe.c, read.c, blkidP.h: Fix gcc -Wall nitpicks.
429
9c7ec178
TT
4302003-07-25 Theodore Ts'o <tytso@mit.edu>
431
432 * Release of E2fsprogs 1.34
433
3de5bf61
TT
4342003-07-22 Theodore Ts'o <tytso@mit.edu>
435
436 * probe.c (probe_udf): Add specific UDF probing code, and probe
437 UDF before checking for ISO9660 filesystems.
438
78e2edf7
TT
4392003-07-21 Theodore Ts'o <tytso@mit.edu>
440
441 * probe.c (blkid_known_fstype): New function which returns true if
442 the filesystem type is one which this blkid library supports.
443
a30b9446
TT
4442003-07-20 Theodore Ts'o <tytso@mit.edu>
445
446 * probe.c: When revalidating a filesystem, delete the LABEL tag if
447 the filesystem no longer has a label.
448
849c6102
TT
4492003-07-18 Theodore Ts'o <tytso@mit.edu>
450
451 * tag.c (blkid_find_dev_with_tag): If blkid_probe_all() returns an
452 error, then reflect that error upwards; don't try again
453 (forever). This prevents an infinite loop when /proc and
454 the /etc/blkid.tab file are not present.
455
48e6e813
TT
4562003-07-06 Theodore Ts'o <tytso@mit.edu>
457
458 * blkid_types.h.in: Fix gcc -Wall nitpicks (don't use #elsif)
459
460 * cache.c: Fix gcc -Wall nitpicks (missing #include <string.h>)
461
462 * probe.h: Fix gcc -Wall nitpicks (missing casts)
463
d339f268
TT
4642003-05-21 Theodore Ts'o <tytso@mit.edu>
465
466 * Makefile.in (ELF_OTHER_LIBS): The blkid library depends on the
467 uuid library. (Addresses Debian bug: #194094)
468
71df0dc3
TT
4692003-04-21 Theodore Ts'o <tytso@mit.edu>
470
471 * Release of E2fsprogs 1.33
472
520ead37
TT
4732003-04-19 Theodore Ts'o <tytso@mit.edu>
474
475 * blkidP.h: Fix gcc -Wall warnings by using __inline__ instead of
476 inline.
477
09a2ef8d
TT
4782003-04-02 Theodore Ts'o <tytso@mit.edu>
479
480 * probe.c, probe.h: Fix XFS superblock definition. Add support to
481 extract UUID and labels for JFS and romfs. (Thanks to
7369f0ce 482 Janos Farkas <chexum+dev@gmail.com>.)
09a2ef8d 483
0faabe5d
TT
4842003-03-30 Theodore Ts'o <tytso@mit.edu>
485
486 * getsize.c: #include stat.h for the Apple Darwin port
487
aa75eccc
TT
4882003-03-17 Theodore Ts'o <tytso@mit.edu>
489
88fe61c7
TT
490 * cache.c: Initialize blkid_debug_mask to zero since some
491 operating systems can't deal with variables in the common
492 section in shared libraries.
493
aa75eccc
TT
494 * getsize.c (blkid_get_dev_size): Fix Apple Darwin port.
495
cd0d521b
TT
4962003-03-06 <tytso@mit.edu>
497
498 * devname.c (probe_one): Fix bug; if a partition has no known
499 type, don't derference a null pointer and crash.
500
ed78c021
TT
5012003-03-06 Theodore Tso <tytso@mit.edu>
502
503 * blkid_types.h.in: Don't redefine types if other e2fsprogs
504 *_types.h files have been included already.
505
506 * list.h, probe.h: Use static inline instead of extern inline to
507 comply with C99 inline support.
508
509 * devname.c (blkid_probe_all): Avoid GCC extension; don't
510 initialize an array with the address of an automatic
511 variable.
512
513 * Makefile.in: Eliminate -Wall as a C compiler option by default;
514 it's not portable.
515
94ba8c75
TT
5162003-03-02 Theodore Ts'o <tytso@mit.edu>
517
518 * Makefile.in: Don't install list.h, since it's not used by the
519 public blkid.h file.
520
521 * blkid_types.h.in: Change #ifndef protection to use _BLKID_TYPES_H
522
ed1b33e8
TT
5232003-03-01 Theodore Ts'o <tytso@mit.edu>
524
7e893048
TT
525 * tag.c (blkid_set_tag): Fix bug; don't return an error when
526 deleting a tag by setting the value to NULL. This
527 caused a failed device verification to loop forever in
528 blkid_verify_devname().
529
28595220
TT
530 * resolve.c (main): Update debugging test program so that it
531 compiles with the latest blkid API changes.
532
533 * libblkid.3.in: Update manual page to reflect recent API changes.
534
ed1b33e8
TT
535 * resolve.c (blkid_get_tag_value): If the passed-in cache is NULL,
536 then get and release a temporary cache as a convenience to
537 the calling application.
538 (blkid_get_devname): If the passed in token does not
539 contain an '=', and value is NULL, then return the passed
540 in token.
541
542 * read.c (blkid_read_cache): Don't return 0 since blkid_read_cache
543 now returns void.
544
545 * blkid.h: Add include of sys/types.h, since we use dev_t
546
1549a447
TT
5472003-02-27 Theodore Ts'o <tytso@mit.edu>
548
549 * resolve.c (blkid_get_tag_value): Rename function (used to be
550 blkid_get_tagname_devname)
551
f0a22d0f
TT
5522003-02-22 Theodore Ts'o <tytso@mit.edu>
553
79dd234a
TT
554 * devname.c (blkid_probe_all), tag.c (blkid_find_dev_with_tag):
555 Call blkid_read_cache to make sure the in-core version of
556 the data structure is the latest. After probing all of
557 the devices in blkid_probe_all() force the cache file to
558 be written out, the probe_all represents a lot of effort
559 that shouldn't be lost.
560
561 * tag.c (blkid_set_tag): Always replace an existing tag with the
562 new value; we no longer suppor multiple tags with the same
563 value attached to a device, as this was never really
564 supported well, and significantly increased the code
565 complexity.
566
567 * probe.c (probe_ext2): Change handling of ext2/ext3 filesystems.
568 Ext3 filesystems are now always treated as ext2
569 filesystems, with a special SEC_TYPE tag set to ext3.
570 This was necessary because we now longer support multiple
571 tags with the same name attached to a device.
572
573 * save.c (save_dev): Don't special case the TYPE tag; just write
574 it out along with all of the normal tags.
575 (blkid_flush_cache): Eliminate special case code for stdout.
576
577 * cache.c (blkid_new_cache, blkid_get_cache): Eliminate
578 blkid_new_cache and fold into blkid_get_cache (moved to
579 cache.c)
580
581 * read.c (blkid_read_cache): New function created from
582 blkid_get_cache which used to be in read.c that only
583 updates the in-core cache data structure from the file.
584 Uses the file modification time of the cache file to
585 determine whether the cache file needs to be re-read.
586
f0a22d0f
TT
587 * cache.c, dev.c, devname.c, devno.c, probe.c, read.c, resolve.c,
588 save.c, tag.c, blkidP.h: Add dynamic debugging
589 capabilities, controlled by the environment variable
590 BLKID_DEBUG.
591
98999c39
TT
5922003-02-16 Theodore Ts'o <tytso@mit.edu>
593
594 * blkid.h, dev.c, devname.c, probe.c, read.c, resolve.c: Rename
595 blkid_get_devname() to blkid_get_dev(). Also rename
596 blkid_get_token() to blkid_get_devname(). This more
597 accurately describes what these functions do.
598
ce72b862
TT
5992003-02-14 Theodore Ts'o <tytso@mit.edu>
600
bc40efd3
TT
601 * blkidP.h, devname.c (blkid_get_devname), read.c (parse_tag),
602 save.c (save_dev): Remove bid_id, as it is not used for
603 anything.
604
ce72b862
TT
605 * Makefile.in (blkid): When building the blkid, don't link against
606 the shared blkid library; link only against the static
607 blkid library.
608
609 * blkidP.h (struct blkid_struct_dev): Remove bid_size and
610 bid_devsize (since they aren't used any more) and add
611 bid_pri to the device structure.
612
613 * devname.c (probe_one, lvm_probe_all, evms_probe_all,
614 blkid_probe_all): Set the bid_pri filed in the device
615 structure depending on type of device so that EVMS, LVM,
616 and MD devices get priority over normal devices.
617
618 * tag.c (blkid_find_dev_with_tag): When looking for a device that
619 matches the search criteria, return the one with the
620 largest priority (bid_pri).
621
622 * save.c (save_dev): Write out the PRI tag from bid_pri.
623
624 * read.c (parse_tag): Parse the PRI tag and store its value in
625 bid_pri.
626
627 * probe.c (blkid_verify_devname): If the device does not exist
628 (open returns ENOENT), treat this as a fatal error and
629 release the device. After verifying the device, set the
630 cache as being modified so the changes are written out.
631
632 * resolve.c (main): Change the test driver to get a blkid cache
633 and pass it to blkid_get_tagname_devname and
634 blkid_get_token, as the cache is no longer optional.
635
50b380b4
TT
6362003-02-12 Theodore Ts'o <tytso@mit.edu>
637
638 * blkid.h, blkidP.h, cache.c, dev.c, devname.c, devno.c, probe.c,
639 probe.h, read.c, resolve.c, save.c, tag.c: Wholesale
640 changes to library to simplify the implementation and
641 shrink its size. Change library version to be 1.0.
642
76b07bb1
TT
6432003-01-27 Theodore Ts'o <tytso@mit.edu>
644
645 * read.c (parse_tag): Do not return that blkid_tag when parsing
646 the blkid.tag file.
647
648 * resolve.c (blkid_get_token, blkid_get_tagname_devname): Fold in
649 code from removed functions
650
651 * tag.c (blkid_create_tag): Don't return the newly tag strcture
652 any more, as it's not needed.
653 (blkid_find_tag_cache, blkid_get_tag_cache,
654 blkid_token_to_tag, blkid_find_tv_tags): Remove these
655 functions, as they are either only used once or have
656 interfaces that should be deprecated.
657 (blkid_find_tag_dev, blkid_find_head_cache): Replace use
658 of blkid_tag with one or two const char * type/value
659 arguments.
660 (blkid_find_dev_with_tag): Fold in code from removed functions
661
662 * probe.h, probe.c: Use a more sophisticated set of byte-swapping
663 routines which are more compact and efficient. Drop
664 calculation of bid_free, since it's unnecessary. Avoid
665
666 * save.c (blkid_save_cache): Set the permissions on the blkid
667 cache file to 644.
668
d3f91798
TT
6692003-01-25 Theodore Ts'o <tytso@mit.edu>
670
7a603aa8
TT
671 * cache.c, dev.c, devname.c, devno.c, getsize.c, llseek.c,
672 probe.c, probe.h, read.c, resolve.c, save.c, tag.c,
673 blkid.h, blkidP.h: Separate public and private
674 interfaces into separate header files. Start
675 separating internal implementation details from the
676 publically exported interface.
677
0f3ac480
TT
678 * devname.c: Add support for EVMS
679
d3f91798
TT
680 * blkid.h, cache.c, dev.c, devname.c, devno.c, probe.c, probe.h,
681 read.c, resolve.c, save.c, tag.c: Fix gcc -Wall nits.
682
3a1d6f3c
TT
6832003-01-24 Theodore Ts'o <tytso@mit.edu>
684
685 * save.c (blkid_save_cache): Use mkstemp() instead mktemp().
686
e12f2ae7
TT
6872002-10-04 Jordan Breeding <jordan.breeding@attbi.com>
688
689 * Forward port to e2fsprogs 1.30
690
6912001-09-20 Andreas Dilger <adilger@turbolinux.com>
692
693 * Initial release of libblkid.