]>
Commit | Line | Data |
---|---|---|
e324b250 TT |
1 | 2006-03-12 Theodore Ts'o <tytso@mit.edu> |
2 | ||
3 | * probe.c (blkid_verify): Fix the bid_time sanity checking logic, | |
4 | so that if last verification time is more recent than the | |
5 | current time, or the comparison between the last | |
6 | verification time and the current time causes an overflow, | |
7 | a device verification will take place. | |
8 | ||
9 | * devname.c (blkid_get_dev): Set the initial bid_time to be | |
10 | INT_MIN, to guarantee that blkid_verify will always be run | |
11 | even when the system clock is insane. | |
12 | ||
13 | * dev.c (blkid_debug_dump_dev), read.c (debug_dump_dev), | |
14 | save.c (save_dev): Fix the printf format for dev->bid_time | |
15 | to match the fact that it is an signed type. | |
16 | ||
ba5e3849 TT |
17 | 2006-03-10 Theodore Ts'o <tytso@mit.edu> |
18 | ||
19 | * probe.c (probe_ext3): If the filesystem has an external journal, | |
20 | store the UUID of the external journal in the tag | |
21 | EXT_JOURNAL. | |
22 | (blkid_verify): If the filesystem type has changed, clear | |
23 | all the tags on the device, not just a preset list of | |
24 | LABEL, UUID, TYPE, and SEC_TYPE. | |
25 | ||
26 | * tag.c (blkid_set_tag): Fix a bug so that blkid_set_tag will work | |
27 | correctly when freeing a tag when the input name parameter | |
28 | comes from the tag that we are freeing. | |
29 | ||
43896121 TT |
30 | 2005-12-29 Theodore Ts'o <tytso@mit.edu> |
31 | ||
32 | * tag.c (main): Add missing parameter in error-handling printf of | |
33 | the blkid test program tst_tag. | |
34 | ||
3ded50b3 TT |
35 | 2005-12-10 Theodore Ts'o <tytso@mit.edu> |
36 | ||
37 | * Makefile.in: Add a dependency to make sure that the | |
38 | subdirectories are created before creating all of the | |
39 | object files. | |
40 | ||
bb626bcd TT |
41 | 2005-09-10 Theodore Ts'o <tytso@mit.edu> |
42 | ||
2f79e519 TT |
43 | * probe.c (probe_fat): Search the root directory of FAT |
44 | filesystems for the label information. | |
45 | ||
ca749859 TT |
46 | * probe.c, probe.h: Change superblock and generic i/o functions to |
47 | be more generic. Clean up interface to the probe | |
48 | function. Fix memory leak. | |
49 | ||
45a3fa87 TT |
50 | * probe.c, probe.h: Extract basic iso9660 label information. |
51 | ||
bb626bcd TT |
52 | * probe.c, probe.h: Add support for resier4 filesystem. |
53 | ||
45d1d889 TT |
54 | 2005-09-07 Theodore Ts'o <tytso@mit.edu> |
55 | ||
038d2bed TT |
56 | * probe.c: Collapse vfat and fat code and make it more paranoid |
57 | when probing for vat/fat filesystems. | |
58 | ||
45d1d889 TT |
59 | * resolve.c: Remove unneeded probe.h header file. |
60 | ||
05a6edf4 KZ |
61 | 2005-09-05 Karel Zak <kzak@redhat.com> |
62 | ||
c4c740ff KZ |
63 | * probe.c (probe_vfat_nomagic): Add support for detecting VFAT |
64 | filesystems even when the magic string isn't in the FAT | |
65 | super block. | |
66 | ||
abaa1124 KZ |
67 | * probe.c: Add support for detecting software suspend partitions |
68 | ||
05a6edf4 KZ |
69 | * probe.c (probe_ext2): Check to see if a journal has been added |
70 | to an ext2 filesystem when revalidating cached information | |
71 | about an ext2 device. | |
72 | ||
583d1f83 TT |
73 | 2005-07-25 Theodore Ts'o <tytso@mit.edu> |
74 | ||
75 | * cache.c (safe_getenv): Pass in zero to the unusued arguments of | |
76 | prctl(PR_GET_DUMPABLE) to avoid false positives from | |
77 | valgrind. | |
78 | ||
9b7d811d AD |
79 | 2005-07-09 Andreas Dilger <adilger@clusterfs.com> |
80 | ||
81 | * getsize.c (blkid_get_dev_size): Use fstat/fstat64 to get size of | |
82 | regular files. | |
83 | ||
1f965c8d TT |
84 | 2006-06-30 Theodore Ts'o <tytso@mit.edu> |
85 | ||
86 | * Release of E2fsprogs 1.38 | |
87 | ||
55080a76 TT |
88 | 2005-06-27 Theodore Ts'o <tytso@mit.edu> |
89 | ||
90 | * read.c, dev.c: Fix the debugging/TEST_PROGRAM code so that it is | |
91 | sufficiently standalone that "make check" will compile | |
92 | without errors even when configure "--enable-blkid-debug" | |
93 | is not specified. | |
94 | ||
c37543df TT |
95 | 2005-05-07 Theodore Ts'o <tytso@mit.edu> |
96 | ||
ed6acfa3 TT |
97 | * tag.c (blkid_find_dev_with_tag): If a device can't be found with |
98 | the specified search arguments, probe all new devices | |
99 | before trying to verify existing devices, as a speed | |
100 | optimization. | |
101 | ||
102 | * devname.c (blkid_probe_all_new): New function which only probes | |
103 | devices are not known in the blkid cache. This takes | |
104 | much less time than a full probe of all devices. | |
105 | ||
12b3c8ec TT |
106 | * cache.c, dev.c, devno.c, probe.c, probe.h: Fix gcc -Wall nits. |
107 | ||
78c7d0ef TT |
108 | * blkidP.h, cache.c, dev.c, read.c, tag.c: Clean up the debugging |
109 | code so that we don't use the inline functions DEB_DUMP_* | |
110 | and instead use the private functions blkid_debug_dump_*(). | |
111 | ||
c37543df TT |
112 | * tag.c (blkid_dev_has_tag): New function which returns 1 if a tag |
113 | has a particular type and possibly value. | |
114 | ||
115 | * blkid.h, dev.c (blkid_dev_set_search, blkid_dev_next): Added new | |
116 | function, blkid_dev_set_search(), which filters the | |
117 | devices returned by the blkid_dev_next() iterator. | |
118 | ||
119 | * tag.c, dev.c, Makefile.in: Add debugging test program code. | |
120 | ||
4c4e3f78 TT |
121 | 2005-05-05 Theodore Ts'o <tytso@mit.edu> |
122 | ||
123 | * probe.c (probe_cramfs), probe.h: Fix magic number recognition | |
124 | for the cramfs filesystem, and add support to pull out the | |
125 | label for cramfs filesystems. Thanks to Karel Zak (kzak | |
126 | at redhat.com) for the patch. | |
127 | ||
762c7c65 TT |
128 | 2005-03-31 Theodore Ts'o <tytso@mit.edu> |
129 | ||
130 | * cache.c (blkid_get_cache): Use a much more paranoid | |
131 | safe_getenv() function which will ignore the BLKID_FILE | |
132 | environment varaible if the application program is setgid | |
133 | or on a Linux system, if kernel doesn't think the process | |
134 | is eligible to create a core dump. Also if glibc has | |
135 | __secure_getenv(), then use it. | |
136 | ||
fd4b28ef TT |
137 | 2005-03-21 Theodore Ts'o <tytso@mit.edu> |
138 | ||
139 | * Release of E2fsprogs 1.37 | |
140 | ||
65ffef36 TT |
141 | 2005-03-21 Theodore Ts'o <tytso@mit.edu> |
142 | ||
143 | * cache.c (blkid_get_cache): Ignore the BLKID_FILE environment | |
144 | variable if blkid_get_cache() is called from a setuid | |
145 | program. | |
146 | ||
b22ea177 TT |
147 | 2005-03-16 Theodore Ts'o <tytso@mit.edu> |
148 | ||
149 | * getsize.c (blkid_get_dev_size): Fix compilation problem on | |
150 | Darwin systems. | |
151 | ||
3eee5e9e TT |
152 | 2006-02-05 Theodore Ts'o <tytso@mit.edu> |
153 | ||
154 | * Release of E2fsprogs 1.36 | |
155 | ||
b7aa0d65 TT |
156 | 2005-02-05 Theodore Ts'o <tytso@mit.edu> |
157 | ||
158 | * Makefile.in: Remove blkid.pc on a "make distclean" | |
159 | ||
18d12963 TT |
160 | 2005-01-27 Theodore Ts'o <tytso@mit.edu> |
161 | ||
162 | * blkid.h, blkidP.h: Rename blkid_verify_devname() to be | |
163 | blkid_verify(), and make it be a publically exported | |
164 | function. | |
165 | ||
e6441865 TT |
166 | 2005-01-26 Theodore Ts'o <tytso@mit.edu> |
167 | ||
32923fa4 TT |
168 | * version.c: Add functions to query the version of the blkid library. |
169 | ||
e6441865 TT |
170 | * blkid.pc.in: Add pkg-config files. |
171 | ||
9d0f4616 TT |
172 | 2005-01-25 Theodore Ts'o <tytso@mit.edu> |
173 | ||
174 | * probe.c: Windows can perform a "quick format" that doesn't clear | |
175 | enough of the partition that the blkid probes can get | |
176 | confused. Do the NTFS test first to deal with this | |
177 | Windows misfeature. (Addresses Debian Bug #291990) | |
178 | ||
2c92375e TT |
179 | 2005-01-21 Theodore Ts'o <tytso@mit.edu> |
180 | ||
181 | * probe.c (probe_oracleasm): Add support for recognizing Oracle | |
182 | ASM volumes. Thanks to Manish Singh (manish.singh at | |
183 | oracle.com) for supplying this patch. | |
184 | ||
8800c738 TT |
185 | 2005-01-18 Theodore Ts'o <tytso@mit.edu> |
186 | ||
187 | * Makefile.in: Fix the kernel compile-time echo commands to be | |
188 | consistent and portable | |
189 | ||
f892826b MA |
190 | 2005-01-13 Matthias Andree <matthias.andree@gmx.de> |
191 | ||
192 | * getsize.c: Move #include "blkidP.h" before <sys/queues.h> to avoid a | |
193 | clash with the LIST_HEAD in the latter file. | |
194 | ||
7369f0ce TT |
195 | 2005-01-10 Theodore Ts'o <tytso@mit.edu> |
196 | ||
197 | * probe.c: Integrate and fix up Janos Farkas's patch. Version 0 | |
198 | swap headers won't ever have uuid/labels. Also, if the | |
199 | swap partition is recreated without a label, make sure | |
200 | label in the blkid file gets freed. | |
201 | (get_ext2_info, probe_vfat, probe_msdos, probe_reiserfs): | |
202 | Make sure the label is cleared from the blkid file if the | |
203 | label gets cleared from the filesystem. | |
204 | (probe_romfs): Avoid dereferencing a null pointer of the | |
205 | label is not present. | |
206 | ||
207 | 2005-01-10 Janos Farkas <chexum+dev@gmail.com> | |
208 | ||
209 | * probe.h: Define linux swap format. | |
210 | ||
211 | * probe.c: Fetch uuid/label from swap headers if present. Mark | |
212 | swap types as needing extra probe. | |
213 | ||
2e6a9feb TT |
214 | 2005-01-05 Theodore Ts'o <tytso@mit.edu> |
215 | ||
216 | * save.c (save_dev): Don't save relative pathnames since they | |
217 | won't be useful to another process. | |
218 | ||
219 | * devname.c (probe_one): Make sure the device is a block device | |
220 | before checking st_rdev. | |
221 | ||
222 | * probe.c (probe_msdos): Mark msdos filesystems as type vfat, with | |
223 | a SEC_TYPE of msdos, so that mount will use vfat to mount | |
224 | msdos filesystems. (Addresses Debian bug #287455) | |
225 | (probe_ext3): For ext3 filesystems, return a type of ext3 | |
226 | and a SEC_TYPE of ext2, for similar reasons as above. | |
227 | (blkid_verify_devname): Allow non-block devices to be | |
228 | verified, for testing purposes. | |
229 | ||
6d402278 TT |
230 | 2004-12-14 Theodore Ts'o <tytso@mit.edu> |
231 | ||
522798d3 TT |
232 | * Makefile.in: Use Linux-kernel-style makefile output for "make |
233 | install" | |
234 | ||
6d402278 TT |
235 | * Makefile.in (installdirs): Use $(MKINSTALLDIRS) macro |
236 | ||
47204ff9 TT |
237 | 2004-11-30 Theodore Ts'o <tytso@mit.edu> |
238 | ||
3838f7df TT |
239 | * probe.c, probe.h: Avoid using uint and uchar types, to allow |
240 | compilation using dietlibc. | |
241 | ||
47204ff9 TT |
242 | * Makefile.in: Use Linux-kernel-style makefile output to make it |
243 | easier to see errors/warnings. | |
244 | ||
4b8f81aa TT |
245 | 2004-11-19 Theodore Ts'o <tytso@mit.edu> |
246 | ||
247 | * probe.c (probe_ocfs): Fix bug where the wrong size for "ocfs1" | |
248 | was being passed to blkid_set_tag(). Thanks to Andrea | |
249 | Dilger for pointing this out. | |
250 | ||
488f3c2d TT |
251 | 2004-09-17 Theodore Ts'o <tytso@mit.edu> |
252 | ||
414846b1 TT |
253 | * probe.c, probe.h: Add support for ocfs2 detection, courtesy of |
254 | manish.singh@oracle.com | |
255 | ||
9845cf5d TT |
256 | * getsize.c: Clean up header #include's. Include sys/disk.h if |
257 | present since this is the new place where the | |
258 | DIOCGMEDIASIZE ioctl is defined on FreeBSD systems. | |
259 | (Addresses Debian bug #264630) | |
260 | ||
488f3c2d TT |
261 | * llseek.c (blkid_llseek): On non-linux systems, use lseek64() if |
262 | it is present. (Addresses Debian bug #269044) | |
263 | ||
1b510f57 TT |
264 | 2004-05-12 Theodore Ts'o <tytso@mit.edu> |
265 | ||
266 | * read.c (blkid_read_cache): Add missing fclose() which was | |
267 | causing a memory and file descriptor leak. Thanks to | |
268 | magnus.fromreide at teligent.se. | |
269 | ||
7ce08064 TT |
270 | 2004-04-19 Theodore Ts'o <tytso@mit.edu> |
271 | ||
272 | * probe.c (blkid_verify_devname): If the time is earlier than the | |
273 | last modified time of the device, then force a reverify; | |
274 | it means the system time may not be trustworthy. | |
275 | ||
7a3a386b TT |
276 | 2004-04-12 Theodore Ts'o <tytso@mit.edu> |
277 | ||
278 | * cache.c (blkid_get_cache): If the BLKID_FILE environment | |
279 | variable is set, use it to find the blkid.tab file if the | |
280 | calling application did not supply a filename. | |
281 | ||
dd607056 TT |
282 | 2004-04-03 Theodore Ts'o <tytso@mit.edu> |
283 | ||
284 | * Makefile.in: Update the modtime even if subst doesn't need to | |
285 | update the libblkid man page, to avoid always re-running | |
286 | subst, especially since there are no dependencies on the | |
287 | man page. | |
288 | ||
2625803e TT |
289 | 2004-04-03 Theodore Ts'o <tytso@mit.edu> |
290 | ||
291 | * blkid_types.h.in: Remove check for _UUID_TYPES since uuid_types.h | |
292 | is no longer used. | |
293 | ||
1cdb6f76 TT |
294 | 2004-03-21 Theodore Ts'o <tytso@mit.edu> |
295 | ||
296 | * getsize.c (blkid_get_dev_size): Don't close the file descriptor | |
297 | when determining the size. This bug was introduced in the | |
298 | previous getsize changes, and was screwing up the blkid | |
299 | library probe functions. (Addresses Debian Bug #239191) | |
300 | ||
2c5cfbcb TT |
301 | 2004-03-08 Theodore Ts'o <tytso@mit.edu> |
302 | ||
303 | * getsize.c (blkid_get_dev_size): Only use the BLKGETSIZE64 ioctl | |
304 | on Linux 2.6 since it is unreliable in Linux 2.4.. | |
305 | (Addresses Debian Bug #236528) Fix typo in the ioctl used | |
306 | for Mac OS X. | |
307 | ||
9387c281 TT |
308 | 2004-03-04 Theodore Ts'o <tytso@mit.edu> |
309 | ||
310 | * probe.c (probe_ocfs), probe.h: Add support for the Oracle | |
311 | Cluster Filesystem (ocfs). Patches courtesy of Rusty | |
312 | Lynch (rusty@linux.co.intel.com). | |
313 | ||
85b87003 TT |
314 | 2004-03-02 Theodore Ts'o <tytso@mit.edu> |
315 | ||
316 | * getsize.c (blkid_get_dev_size): Update getsize functions to use | |
317 | Apple Darwin and Linux 64-bit ioctl's | |
318 | ||
434661f8 TT |
319 | 2004-02-29 Brian Bergstrand <brian@bergstrand.org> |
320 | ||
321 | * Makefile.in: Use $(BSDLIB_PIC_FLAG) to determine whether to use | |
322 | -fpic or -fPIC | |
323 | ||
b70b1167 TT |
324 | 2004-02-28 Theodore Ts'o <tytso@mit.edu> |
325 | ||
326 | * Release of E2fsprogs 1.35 | |
327 | ||
54434927 TT |
328 | 2003-12-07 Theodore Ts'o <tytso@mit.edu> |
329 | ||
330 | * probe.c, read.c, blkidP.h: Fix gcc -Wall nitpicks. | |
331 | ||
9c7ec178 TT |
332 | 2003-07-25 Theodore Ts'o <tytso@mit.edu> |
333 | ||
334 | * Release of E2fsprogs 1.34 | |
335 | ||
3de5bf61 TT |
336 | 2003-07-22 Theodore Ts'o <tytso@mit.edu> |
337 | ||
338 | * probe.c (probe_udf): Add specific UDF probing code, and probe | |
339 | UDF before checking for ISO9660 filesystems. | |
340 | ||
78e2edf7 TT |
341 | 2003-07-21 Theodore Ts'o <tytso@mit.edu> |
342 | ||
343 | * probe.c (blkid_known_fstype): New function which returns true if | |
344 | the filesystem type is one which this blkid library supports. | |
345 | ||
a30b9446 TT |
346 | 2003-07-20 Theodore Ts'o <tytso@mit.edu> |
347 | ||
348 | * probe.c: When revalidating a filesystem, delete the LABEL tag if | |
349 | the filesystem no longer has a label. | |
350 | ||
849c6102 TT |
351 | 2003-07-18 Theodore Ts'o <tytso@mit.edu> |
352 | ||
353 | * tag.c (blkid_find_dev_with_tag): If blkid_probe_all() returns an | |
354 | error, then reflect that error upwards; don't try again | |
355 | (forever). This prevents an infinite loop when /proc and | |
356 | the /etc/blkid.tab file are not present. | |
357 | ||
48e6e813 TT |
358 | 2003-07-06 Theodore Ts'o <tytso@mit.edu> |
359 | ||
360 | * blkid_types.h.in: Fix gcc -Wall nitpicks (don't use #elsif) | |
361 | ||
362 | * cache.c: Fix gcc -Wall nitpicks (missing #include <string.h>) | |
363 | ||
364 | * probe.h: Fix gcc -Wall nitpicks (missing casts) | |
365 | ||
d339f268 TT |
366 | 2003-05-21 Theodore Ts'o <tytso@mit.edu> |
367 | ||
368 | * Makefile.in (ELF_OTHER_LIBS): The blkid library depends on the | |
369 | uuid library. (Addresses Debian bug: #194094) | |
370 | ||
71df0dc3 TT |
371 | 2003-04-21 Theodore Ts'o <tytso@mit.edu> |
372 | ||
373 | * Release of E2fsprogs 1.33 | |
374 | ||
520ead37 TT |
375 | 2003-04-19 Theodore Ts'o <tytso@mit.edu> |
376 | ||
377 | * blkidP.h: Fix gcc -Wall warnings by using __inline__ instead of | |
378 | inline. | |
379 | ||
09a2ef8d TT |
380 | 2003-04-02 Theodore Ts'o <tytso@mit.edu> |
381 | ||
382 | * probe.c, probe.h: Fix XFS superblock definition. Add support to | |
383 | extract UUID and labels for JFS and romfs. (Thanks to | |
7369f0ce | 384 | Janos Farkas <chexum+dev@gmail.com>.) |
09a2ef8d | 385 | |
0faabe5d TT |
386 | 2003-03-30 Theodore Ts'o <tytso@mit.edu> |
387 | ||
388 | * getsize.c: #include stat.h for the Apple Darwin port | |
389 | ||
aa75eccc TT |
390 | 2003-03-17 Theodore Ts'o <tytso@mit.edu> |
391 | ||
88fe61c7 TT |
392 | * cache.c: Initialize blkid_debug_mask to zero since some |
393 | operating systems can't deal with variables in the common | |
394 | section in shared libraries. | |
395 | ||
aa75eccc TT |
396 | * getsize.c (blkid_get_dev_size): Fix Apple Darwin port. |
397 | ||
cd0d521b TT |
398 | 2003-03-06 <tytso@mit.edu> |
399 | ||
400 | * devname.c (probe_one): Fix bug; if a partition has no known | |
401 | type, don't derference a null pointer and crash. | |
402 | ||
ed78c021 TT |
403 | 2003-03-06 Theodore Tso <tytso@mit.edu> |
404 | ||
405 | * blkid_types.h.in: Don't redefine types if other e2fsprogs | |
406 | *_types.h files have been included already. | |
407 | ||
408 | * list.h, probe.h: Use static inline instead of extern inline to | |
409 | comply with C99 inline support. | |
410 | ||
411 | * devname.c (blkid_probe_all): Avoid GCC extension; don't | |
412 | initialize an array with the address of an automatic | |
413 | variable. | |
414 | ||
415 | * Makefile.in: Eliminate -Wall as a C compiler option by default; | |
416 | it's not portable. | |
417 | ||
94ba8c75 TT |
418 | 2003-03-02 Theodore Ts'o <tytso@mit.edu> |
419 | ||
420 | * Makefile.in: Don't install list.h, since it's not used by the | |
421 | public blkid.h file. | |
422 | ||
423 | * blkid_types.h.in: Change #ifndef protection to use _BLKID_TYPES_H | |
424 | ||
ed1b33e8 TT |
425 | 2003-03-01 Theodore Ts'o <tytso@mit.edu> |
426 | ||
7e893048 TT |
427 | * tag.c (blkid_set_tag): Fix bug; don't return an error when |
428 | deleting a tag by setting the value to NULL. This | |
429 | caused a failed device verification to loop forever in | |
430 | blkid_verify_devname(). | |
431 | ||
28595220 TT |
432 | * resolve.c (main): Update debugging test program so that it |
433 | compiles with the latest blkid API changes. | |
434 | ||
435 | * libblkid.3.in: Update manual page to reflect recent API changes. | |
436 | ||
ed1b33e8 TT |
437 | * resolve.c (blkid_get_tag_value): If the passed-in cache is NULL, |
438 | then get and release a temporary cache as a convenience to | |
439 | the calling application. | |
440 | (blkid_get_devname): If the passed in token does not | |
441 | contain an '=', and value is NULL, then return the passed | |
442 | in token. | |
443 | ||
444 | * read.c (blkid_read_cache): Don't return 0 since blkid_read_cache | |
445 | now returns void. | |
446 | ||
447 | * blkid.h: Add include of sys/types.h, since we use dev_t | |
448 | ||
1549a447 TT |
449 | 2003-02-27 Theodore Ts'o <tytso@mit.edu> |
450 | ||
451 | * resolve.c (blkid_get_tag_value): Rename function (used to be | |
452 | blkid_get_tagname_devname) | |
453 | ||
f0a22d0f TT |
454 | 2003-02-22 Theodore Ts'o <tytso@mit.edu> |
455 | ||
79dd234a TT |
456 | * devname.c (blkid_probe_all), tag.c (blkid_find_dev_with_tag): |
457 | Call blkid_read_cache to make sure the in-core version of | |
458 | the data structure is the latest. After probing all of | |
459 | the devices in blkid_probe_all() force the cache file to | |
460 | be written out, the probe_all represents a lot of effort | |
461 | that shouldn't be lost. | |
462 | ||
463 | * tag.c (blkid_set_tag): Always replace an existing tag with the | |
464 | new value; we no longer suppor multiple tags with the same | |
465 | value attached to a device, as this was never really | |
466 | supported well, and significantly increased the code | |
467 | complexity. | |
468 | ||
469 | * probe.c (probe_ext2): Change handling of ext2/ext3 filesystems. | |
470 | Ext3 filesystems are now always treated as ext2 | |
471 | filesystems, with a special SEC_TYPE tag set to ext3. | |
472 | This was necessary because we now longer support multiple | |
473 | tags with the same name attached to a device. | |
474 | ||
475 | * save.c (save_dev): Don't special case the TYPE tag; just write | |
476 | it out along with all of the normal tags. | |
477 | (blkid_flush_cache): Eliminate special case code for stdout. | |
478 | ||
479 | * cache.c (blkid_new_cache, blkid_get_cache): Eliminate | |
480 | blkid_new_cache and fold into blkid_get_cache (moved to | |
481 | cache.c) | |
482 | ||
483 | * read.c (blkid_read_cache): New function created from | |
484 | blkid_get_cache which used to be in read.c that only | |
485 | updates the in-core cache data structure from the file. | |
486 | Uses the file modification time of the cache file to | |
487 | determine whether the cache file needs to be re-read. | |
488 | ||
f0a22d0f TT |
489 | * cache.c, dev.c, devname.c, devno.c, probe.c, read.c, resolve.c, |
490 | save.c, tag.c, blkidP.h: Add dynamic debugging | |
491 | capabilities, controlled by the environment variable | |
492 | BLKID_DEBUG. | |
493 | ||
98999c39 TT |
494 | 2003-02-16 Theodore Ts'o <tytso@mit.edu> |
495 | ||
496 | * blkid.h, dev.c, devname.c, probe.c, read.c, resolve.c: Rename | |
497 | blkid_get_devname() to blkid_get_dev(). Also rename | |
498 | blkid_get_token() to blkid_get_devname(). This more | |
499 | accurately describes what these functions do. | |
500 | ||
ce72b862 TT |
501 | 2003-02-14 Theodore Ts'o <tytso@mit.edu> |
502 | ||
bc40efd3 TT |
503 | * blkidP.h, devname.c (blkid_get_devname), read.c (parse_tag), |
504 | save.c (save_dev): Remove bid_id, as it is not used for | |
505 | anything. | |
506 | ||
ce72b862 TT |
507 | * Makefile.in (blkid): When building the blkid, don't link against |
508 | the shared blkid library; link only against the static | |
509 | blkid library. | |
510 | ||
511 | * blkidP.h (struct blkid_struct_dev): Remove bid_size and | |
512 | bid_devsize (since they aren't used any more) and add | |
513 | bid_pri to the device structure. | |
514 | ||
515 | * devname.c (probe_one, lvm_probe_all, evms_probe_all, | |
516 | blkid_probe_all): Set the bid_pri filed in the device | |
517 | structure depending on type of device so that EVMS, LVM, | |
518 | and MD devices get priority over normal devices. | |
519 | ||
520 | * tag.c (blkid_find_dev_with_tag): When looking for a device that | |
521 | matches the search criteria, return the one with the | |
522 | largest priority (bid_pri). | |
523 | ||
524 | * save.c (save_dev): Write out the PRI tag from bid_pri. | |
525 | ||
526 | * read.c (parse_tag): Parse the PRI tag and store its value in | |
527 | bid_pri. | |
528 | ||
529 | * probe.c (blkid_verify_devname): If the device does not exist | |
530 | (open returns ENOENT), treat this as a fatal error and | |
531 | release the device. After verifying the device, set the | |
532 | cache as being modified so the changes are written out. | |
533 | ||
534 | * resolve.c (main): Change the test driver to get a blkid cache | |
535 | and pass it to blkid_get_tagname_devname and | |
536 | blkid_get_token, as the cache is no longer optional. | |
537 | ||
50b380b4 TT |
538 | 2003-02-12 Theodore Ts'o <tytso@mit.edu> |
539 | ||
540 | * blkid.h, blkidP.h, cache.c, dev.c, devname.c, devno.c, probe.c, | |
541 | probe.h, read.c, resolve.c, save.c, tag.c: Wholesale | |
542 | changes to library to simplify the implementation and | |
543 | shrink its size. Change library version to be 1.0. | |
544 | ||
76b07bb1 TT |
545 | 2003-01-27 Theodore Ts'o <tytso@mit.edu> |
546 | ||
547 | * read.c (parse_tag): Do not return that blkid_tag when parsing | |
548 | the blkid.tag file. | |
549 | ||
550 | * resolve.c (blkid_get_token, blkid_get_tagname_devname): Fold in | |
551 | code from removed functions | |
552 | ||
553 | * tag.c (blkid_create_tag): Don't return the newly tag strcture | |
554 | any more, as it's not needed. | |
555 | (blkid_find_tag_cache, blkid_get_tag_cache, | |
556 | blkid_token_to_tag, blkid_find_tv_tags): Remove these | |
557 | functions, as they are either only used once or have | |
558 | interfaces that should be deprecated. | |
559 | (blkid_find_tag_dev, blkid_find_head_cache): Replace use | |
560 | of blkid_tag with one or two const char * type/value | |
561 | arguments. | |
562 | (blkid_find_dev_with_tag): Fold in code from removed functions | |
563 | ||
564 | * probe.h, probe.c: Use a more sophisticated set of byte-swapping | |
565 | routines which are more compact and efficient. Drop | |
566 | calculation of bid_free, since it's unnecessary. Avoid | |
567 | ||
568 | * save.c (blkid_save_cache): Set the permissions on the blkid | |
569 | cache file to 644. | |
570 | ||
d3f91798 TT |
571 | 2003-01-25 Theodore Ts'o <tytso@mit.edu> |
572 | ||
7a603aa8 TT |
573 | * cache.c, dev.c, devname.c, devno.c, getsize.c, llseek.c, |
574 | probe.c, probe.h, read.c, resolve.c, save.c, tag.c, | |
575 | blkid.h, blkidP.h: Separate public and private | |
576 | interfaces into separate header files. Start | |
577 | separating internal implementation details from the | |
578 | publically exported interface. | |
579 | ||
0f3ac480 TT |
580 | * devname.c: Add support for EVMS |
581 | ||
d3f91798 TT |
582 | * blkid.h, cache.c, dev.c, devname.c, devno.c, probe.c, probe.h, |
583 | read.c, resolve.c, save.c, tag.c: Fix gcc -Wall nits. | |
584 | ||
3a1d6f3c TT |
585 | 2003-01-24 Theodore Ts'o <tytso@mit.edu> |
586 | ||
587 | * save.c (blkid_save_cache): Use mkstemp() instead mktemp(). | |
588 | ||
e12f2ae7 TT |
589 | 2002-10-04 Jordan Breeding <jordan.breeding@attbi.com> |
590 | ||
591 | * Forward port to e2fsprogs 1.30 | |
592 | ||
593 | 2001-09-20 Andreas Dilger <adilger@turbolinux.com> | |
594 | ||
595 | * Initial release of libblkid. |