Whamcloud - gitweb
Internal changes to the blkid library:
authorTheodore Ts'o <tytso@mit.edu>
Sat, 22 Feb 2003 22:15:20 +0000 (17:15 -0500)
committerTheodore Ts'o <tytso@mit.edu>
Sat, 22 Feb 2003 22:15:20 +0000 (17:15 -0500)
commit79dd234a799434b6dc8365c49e743f00eb09d2fd
treeda3334d22ef252158be7b0b6be01b8bcd36dd301
parentf0a22d0fd3ec3f45b562af5afba8811f72b94a28
Internal changes to the blkid library:

1) Only one tag with a particular name can be attached to a device
at a time.  This significantly simplifies the library, and was needed
to allow the cache file to be re-read and changes integrated into the
in-core version of the data structure in a simpler fashion than earlier
versions of the library.

2)  To accomodate this, the ext2/ext3 filesystems are now always tagged
as "ext2" type filesystems.  Ext3 filesystems are tagged with a
SEC_TYPE tag with the value ext3.

3)  The new blkid_read_cache() function checks the mod time of the
cache file, and if the file has been changed since the last time the
cache file was read into memory, it is re-read.  This function is now
called before probing all of the devices in the system or searching
all devices in the cache for a specific tag value.

4)  After probing all devices, blkid_flush_cache() is called to write
out the cache file.  This assures that all of the hard work involved
in doing a blkid_probe_all() is saved to disk.
lib/blkid/ChangeLog
lib/blkid/blkid.h
lib/blkid/blkidP.h
lib/blkid/cache.c
lib/blkid/devname.c
lib/blkid/probe.c
lib/blkid/probe.h
lib/blkid/read.c
lib/blkid/resolve.c
lib/blkid/save.c
lib/blkid/tag.c