History log of /external/e2fsprogs/lib/blkid/probe.c
Revision Date Author Comments (<<< Hide modified files) (Show modified files >>>)
b2cc45fe711dc42c8c0444584b2513ac59b3ad3b 24-May-2015 Jeff Sharkey <jsharkey@android.com> Add f2fs to blkid.

We can now identify f2fs filesystems and extract the UUID.

Bug: 20275581
Change-Id: I55f7b8aa6647913bd45f02a8e9eea18ca3c53939
/external/e2fsprogs/lib/blkid/probe.c
e0ed7404719a9ddd2ba427a80db5365c8bad18c0 20-Mar-2014 JP Abgrall <jpa@google.com> Switch back to 1.42.9 now that there is a fix

Revert "Revert changes that moved from 1.41.14 to 1.42.9"

This reverts commit 65f0aab98b20b5994a726ab90d355248bcddfffd.
/external/e2fsprogs/lib/blkid/probe.c
65f0aab98b20b5994a726ab90d355248bcddfffd 06-Mar-2014 JP Abgrall <jpa@google.com> Revert changes that moved from 1.41.14 to 1.42.9

Revert "e2fsck: Don't use e2fsck_global_ctx unless HAVE_SIGNAL_H"
commit e80e74c41d85ff93f3d212ba6512340f48054a93.

Revert "Merge remote-tracking branch 'linaro/linaro-1.42.9' into aosp_master"
This reverts commit e97b2b6fc82f840e84dfc631b87f21be44ff2421, reversing
changes made to 7e2fb9d09c245eba70ee008b78007315e9c0f1df.

Revert "Prepare for upstream 1.42.9"
This reverts commit 7e2fb9d09c245eba70ee008b78007315e9c0f1df.

Bug: 13340735
Change-Id: If48b153a95ef5f69f7cdccb00e23524abff3c5a8
Signed-off-by: JP Abgrall <jpa@google.com>
/external/e2fsprogs/lib/blkid/probe.c
9f9a0502c08474b18ab6084f0c251672eb8543d7 17-Oct-2013 Jeff Sharkey <jsharkey@android.com> Fix blkid time diff bug, build binary.

When calculating time diffs, use difftime() instead of risking
integer overflow. Also build a "blkid" binary.

Bug: 11175082
Change-Id: I23521f45204574bb32f152926401c2cbad93175b
/external/e2fsprogs/lib/blkid/probe.c
18a1444b4f1e6a0948fd38fa0de382d86cfe04de 31-Dec-2013 Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org> Add files that would normally be generated by the e2fsprogs build system

Android doesn't run ./configure and friends, so it has to rely on
pre-populated versions of the autogenerated files.

This is somewhat bogus (e.g. hardcoded little-endian reference in
lib/ext2fs/ext2_types.h) and should at some point be fixed, but it's
what Android has always done, not a regression from the 1.41.14 branch.

Also, don't #include config.h which we don't generate (we pass what it
usually contains as -D parameters from Android.mk) anywhere.

Add a new Android.mk file for the quota library.

Change-Id: I162c6327fee5bd06261d9cdcc34bda10f04a6f21
Signed-off-by: Bernhard Rosenkränzer <Bernhard.Rosenkranzer@linaro.org>
/external/e2fsprogs/lib/blkid/probe.c
871ad942641b604631a9d33a7008e073ba946a9e 13-Mar-2013 Theodore Ts'o <tytso@mit.edu> blkid: remove no-op statement which caused a clang warning

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
00eb0eee0addfd3b7ede98b85e00dff1547838a0 29-Nov-2012 Andreas Dilger <adilger@dilger.ca> build: quiet some "gcc -Wall" compiler warnings

Quiet a number of simple compiler warnings:
- pointers not initialized by ext2fs_get_mem()
- return without value in non-void function
- dereferencing type-punned pointers
- unused variables

Signed-off-by: Andreas Dilger <adilger@dilger.ca>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
d1154eb460efe588eaed3d439c1caaca149fa362 18-Sep-2011 Theodore Ts'o <tytso@mit.edu> Shorten compile commands run by the build system

The DEFS line in MCONFIG had gotten so long that it exceeded 4k, and
this was starting to cause some tools heartburn. It also made "make
V=1" almost useless, since trying to following the individual commands
run by make was lost in the noise of all of the defines.

So fix this by putting the configure-generated defines in lib/config.h
and the directory pathnames to lib/dirpaths.h.

In addition, clean up some vestigal defines in configure.in and in the
Makefiles to further shorten the cc command lines.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
cf5301d7f2c3bbed3d26600335102414cbf0c4ba 11-Jun-2011 Andreas Dilger <adilger@whamcloud.com> misc: clean up compiler warnings

Fix several types of compiler warnings (unused variables/labels),
uninitialized variables, etc that are hit with gcc -Wall.

Signed-off-by: Andreas Dilger <adilger@whamcloud.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
249c962ad8f2daabc403577d0c994e4c986c8f9a 23-Aug-2009 Karel Zak <kzak@redhat.com> blkid: support .ko.gz in modules.dep parser

The Linux kernel modules could be compressed, it means modules.dep
parser in libblid has to support .ko.gz extension too.

(Note, I've talked about this problem with Jon Masters and his
suggestion is to exec(/sbin/modinfo) rather than directly parse
modules.dep. BTW, the modules.dep file is deprecated.)

Address-Red-Hat-Bug: #518572
Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
45e338f5332a54295893dba2e32cc093d1316f60 23-Feb-2009 Jim Meyering <jim@meyering.net> remove useless if-before-free tests

In case you're wondering about whether this change is safe from a
portability standpoint, fear not. This has been beaten to death
in other forums. Here are a few threads:

http://thread.gmane.org/gmane.comp.version-control.git/74187
http://thread.gmane.org/gmane.comp.lib.gnulib.bugs/12712
http://thread.gmane.org/gmane.emacs.devel/98144
http://thread.gmane.org/gmane.comp.lib.glibc.alpha/13092

There has been debate about whether it's a good idea from a
performance standpoint, too, but imho you'll have a hard time
finding an instance where this sort of change induces a
measurable performance penalty. If you do, please let me know.

Signed-off-by: Jim Meyering <meyering@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
1361821e7e248166f0740c832b164e6cd6b89de9 08-Mar-2009 Theodore Ts'o <tytso@mit.edu> blkid: Add fallback to ext4 for 2.6.29+ kernels if ext2 is not present

Starting in 2.6.29, ext4 can be used to support filesystems without a
journal. So if ext2 is not present, and the kernel version is greater
than 2.6.29, and ext4 is present, return a filesystme type of ext4.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
a90f5391dda78f7bc4a8196a78355584ace0adf5 25-Feb-2009 Eric Sandeen <sandeen@redhat.com> blkid: recognize ext4(dev) without journal

ext4/ext4dev no longer require a journal.

w/o this blkid doesn't recognize after:

# mkfs.ext4 /dev/blah
# tune2fs -O ^has_journal
# blkid /dev/blah

We still must have one ext3-incompat-feature to flag
as ext4(dev) so we shouldn't ever mis-recognize it.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
f2fe5da31deebc689bb64e71c8e873efc925d312 24-Feb-2009 Eric Sandeen <sandeen@redhat.com> e2fsprogs: fix potential null ptr defef in check_for_modules()

The coverity scanner found this one.

If a line in modules.dep has a ":" but no "/" then:

if ((cp = strchr(buf, ':')) != NULL)
*cp = 0;
else
continue;
if ((cp = strrchr(buf, '/')) != NULL)
cp++;
/* XXX else cp is still null */
i = strlen(cp);

... we will deref a null pointer (cp). This can be
demonstrated by putting a line like:

foo.ko:

into modules.dep. The below change just says that if no "/" is
found, treat the whole string as the module name.

Addresses-Red-Hat-Bugzilla: #486997

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
31e2a75484816db0e5e68afacb13beef7e751061 20-Jan-2009 Theodore Ts'o <tytso@mit.edu> blkid: Add support for detecting user-level suspend as a swsuspend signature

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
801b0053336cc5fe5b3447ddad58505352a6578e 08-Jan-2009 Eric Sandeen <sandeen@redhat.com> blkid: recognize btrfs

Add btrfs detection to libblkid, now that the disk format should be
recognizable in the future.

# misc/blkid /tmp/fsfile
/tmp/fsfile: LABEL="mylabel" UUID="102b07f0-0e79-4b42-8a4e-1dde418bbe6d" TYPE="btrfs"

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
9e7da0bdc1f426f553b72721c769a8ffe3c536da 14-Oct-2008 Eric Sandeen <sandeen@redhat.com> blkid: recognize ext3 with test_fs set as ext3

It seems that if we have the test_filesystem flag set on an ext3
filesystem(!) on a system which provides ext4, blkid gets confused.

According to the current logic:

* It's not an ext4dev filesystem, because the system provides ext4.
* It's not an ext4 filesystem, because it has no ext4 features.
* It's not an ext3 filesystem, because the test flag is set.

In the end, it's nothing.

blkid should return *something* that is mountable... I'm inclined to
think that ext3 should be the right answer, if no ext4-specific features
are set.

This would mean just dropping the EXT2_FLAGS_TEST_FILESYS test in
probe_ext3(), because ext4 & ext4dev probes have come first already.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
6964a17720ca88acd2075b57dde9c381f093e492 11-Oct-2008 Theodore Ts'o <tytso@mit.edu> libblkid: Fix file descriptor leak when checking for a module

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
18f734301012301efbeb87a7c67f6cf82f1721d7 08-Oct-2008 Eric Sandeen <sandeen@redhat.com> e2fsprogs: fix blkid detection of ext4dev as ext4

If only ext4 is available (as a module or in /proc/filesystems)
blkid wasn't properly testing for it, because the time checks
were backwards and always failed. This caused old ext4dev
filesystems to fail to mount as ext4. With this patch it works
fine.

Also, don't try to check for modules on a non-Linux system.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
efc6f628e15de95bcd13e4f0ee223cb42115d520 28-Aug-2008 Theodore Ts'o <tytso@mit.edu> Remove trailing whitespace for the entire source tree

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
d56ccbd8f97e90d34a2b18a45fbd6681d3dba726 25-Aug-2008 Theodore Ts'o <tytso@mit.edu> libblkid: Fix namespace leakage of unicode_16be_to_utf8

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
b41fb002257d4b997560cd77676b78219be03c24 24-Aug-2008 Theodore Ts'o <tytso@mit.edu> libblkid: Strengthen the JFS probe routine

Check to make sure a JFS filesystem is really correct by checking the
relationship between the following fields in the JFS superblock:
s_bsize, s_l2bsize, s_pbsize, s_l2pbsize, and s_l2bfactor. Thanks to
Lesh Bogdanow for this suggestion.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
78d89cda680498957e4ad78602751d1f905cee08 24-Aug-2008 Theodore Ts'o <tytso@mit.edu> libblkid: Fix false detection of DFSee created filesystems.

OS/2 and DFSee creates a pseudo FAT-12/16 header in the first 512
bytes of a filesystem which looks enough like a FAT-12/16 to fool
blkid. Part of this is because we don't require ms_magic or vs_magic
to be the strings "FAT12 ", "FAT16 ", or "FAT32 ", since some FAT
filesystem formatters don't set ms_magic or vs_magic. To address
this, we explicitly test for "JFS " and "HPFS " in ms_magic,
and if they are found, we assume the filesystem is definitely not
a FAT filesystem.

Addresses-Launchpad-Bug: #255255

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
9c460caae3dab7803c0e7d9399b47e790cf90661 22-Aug-2008 Theodore Ts'o <tytso@mit.edu> libblkid: Enhance support for MacOS's hfs, hfsplus, and hfsx filesystems

Add detection for hfsx filesystems. Add label and uuid detetion for
hfs, hfsplus, and hfsx.

Addresses-Sourceforge-Feature-Requests: #2060292

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
79e62409b3a247e258d9e9206484ed8f193a183e 07-Jul-2008 Eric Sandeen <sandeen@redhat.com> Clean up some trivial build warnings

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
8d45e2104cdebcd509810786756cfb2e40588620 21-Jun-2008 Theodore Ts'o <tytso@mit.edu> blkid: Fix cc portability problem in probe_lvm2()

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
71ff129e9f5c942ce4d2eb20e269100d15c1a6ae 18-Jun-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint'

Conflicts:

README
resize/online.c
version.h
cc19b958602775ef48f347d16859ce6623a385da 17-Jun-2008 Theodore Ts'o <tytso@mit.edu> libblkid: Fix marginal C code in probe_lvm2()

Modern gcc accepted what was there previously, but it's clearly not
correct C code, and this may have been the explanation for why a user
trying to compile a recent version of e2fsprogs failed to do so on Red
Hat 7.3.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
8aa53bfa691c21d8716efae1307bced6b705ce31 03-Jun-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next
c9bad3ce1ac50e317adef1400458e6e30d0be20a 30-May-2008 Ricardo M. Correia <Ricardo.M.Correia@Sun.COM> Add ZFS detection to libblkid

This patch adds ZFS filesystem detection to libblkid.

It probes for VDEV_BOOT_MAGIC in the first 2 ZFS labels in big-endian
and little-endian formats.
Unfortunately the probe table doesn't support probing from the end of
the device, otherwise we could also probe in the 3rd and 4th labels (in
case the first 2 labels were accidentally overwritten)..

Eventually we would set the UUID from the ZFS pool GUID and the LABEL tag
from the pool name, but that requires parsing an XDR encoding of the pool
configuration which is not trivial.

Signed-off-by: Ricardo M. Correia <Ricardo.M.Correia@Sun.COM>
Signed-off-by: Andreas Dilger <adilger@sun.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
c0af709e52dd4952d78f051ea5c082437ee3412b 21-May-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint'

Conflicts:

README
version.h
492ea6556e82caf88d77c78bde2beb8849aa4eaf 20-May-2008 Theodore Ts'o <tytso@mit.edu> blkid: If the device mtime is newer that the cache time, force a revalidation

This fixes problems turned up by a test case written by Erez Zadok's
group which constantly reformats filesystems.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
22269b8b60da320b3c27ea8d053f9e2b0fbe2ae2 12-May-2008 Eric Sandeen <sandeen@redhat.com> - fix swap sanity tests in blkid, and blkid tests

Swap is actually native-endian on disk, and with the latest
swapspace sanity checks I added we need to have native swapspace
examples in the blkid tests, so re-mkswap them during testing.

One one other required change, though; mkswap requires at least
10 pages of swap, so the image needs to be increased to 10x64k
if mkswap is to succeed...

Maybe it'd be better to just dd it out on the fly?

Addresses-redhat-bugzilla: 445786

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
4476105bf377eb9bd30d2771b21b2ada06c13e82 22-Apr-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint'

Conflicts:

configure
8bcaaabb1a023af4852dbf0dba76249982c62e40 22-Apr-2008 Theodore Ts'o <tytso@mit.edu> blkid: Keep cached filesystem information on EACCES and ENOENT errors

When a nonprivileged user uses the blkid command, we want to keep the
cached filesystem information, and opening a device file could result
in an EACCESS or ENOENT (if an intervening directory is mode 700). We
were previously testing for EPERM, which was really the wrong error
code to be testing against.

Addresses-Launchpad-Bug: #220275

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
6360d129d003f25942f62fab2cdc5e1d97cc88a6 18-Apr-2008 Eric Sandeen <sandeen@redhat.com> blkid: more sanity checks for swap v1

mkswap followed by pvcreate on a block device
will still turn up as "swap" in blkid, because
pvcreate isn't particularly careful about zeroing
old signatures. (neither is mkswap, for that matter).

Testing for appropriate version and page counts
gives us a bit more confidence that we have a
real swap (v1) partition.

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
a040a99b6cc4bf9f10d39747ca6947f0462a2eb2 13-Mar-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint'

Conflicts:

lib/ext2fs/ext2_err.et.in
dd232049d19112d46d4b296c1b253ef05e9dc67c 09-Mar-2008 Theodore Ts'o <tytso@mit.edu> blkid: Fix portability problem caused by using uint instead of unsigned int

This is needed to fix compilation with DJGPP; thanks to Cristophe
Grenier for pointing this out.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
a49670e64e28ac3b15e36cb6bd0a8135d3ecdbbb 28-Feb-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint'

Conflicts:

lib/blkid/devname.c
lib/blkid/probe.c
misc/mke2fs.c
misc/tune2fs.c
3a538e42441afa5e5b34942062acb976e0d345f6 27-Feb-2008 Theodore Ts'o <tytso@mit.edu> Fix gcc -Wall warnings for lib/blkid/probe.c

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
a451d92f38188f7218a837a395b310354864b5a4 31-Jan-2008 Eric Sandeen <sandeen@redhat.com> blkid: detect LVM2 physical volumes

Bits liberally stolen from lvm2 userspace.

Addresses-Red-Hat-Bugzilla: #409321

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
ef80fdc8ad014c55e601018f4f6ec22065c37030 10-Feb-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next
a4045c21a30ddf36528b0b1fc0cc6e4fffb33ce6 10-Feb-2008 Theodore Ts'o <tytso@mit.edu> blkid: Add support for returning labels for UDF filesystems

Addresses-Sourceforge-Bug: #1886394

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
838f133c72a583eae67414368e46ee0303e0a51f 10-Feb-2008 Theodore Ts'o <tytso@mit.edu> blkid: Flush cached filesystem information on any error other than EPERM

USB devices can return ENOMEDIUM, and when the filesystem cached
information wasn't flushed, it resulted in the wrong location of a
filesystem to be returned to the caller. The only justification for
using cached information when the open fails is in the case of a
permission denied error.

Addresses-Debian-Bug: #463787
/external/e2fsprogs/lib/blkid/probe.c
cfc19311947dc4bd1731f641a8c52135a02e5559 08-Feb-2008 Theodore Ts'o <tytso@mit.edu> blkid: Automatically chose between ext4 and ext4dev as appropriate

Add logic that on Linux systems will check for the presence of the
ext4dev filesystem; if it isn't present, fall back to ext4 for
filesystems that are marked as being "OK for use on test filesystem
code". If they are OK for use for in-development filesystem code, it
should also be fine to use stable filesystem code if there is no test
filesystem code (ext4dev) available.

The reverse is not true, of course. We don't ever want to mount a
production filesystem using test filesystem code unless the user gives
us explicit permission via "tune2fs -E test_fs".

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
428f6b32a9029e1f0bc2559233954955a6aae64c 28-Jan-2008 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:

configure
lib/ext2fs/ext2_fs.h
misc/e2image.c
69d742284d083c8f6ce7d9240019e21f2fbd9ed5 27-Jan-2008 Theodore Ts'o <tytso@mit.edu> blkid: Add support for HFS+ detection

From SLES 10 patch: e2fsprogs-blkid_probe_hfsplus.patch

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
4dc30dac2c2732e25765984263a3ecafd8c66932 27-Jan-2008 Theodore Ts'o <tytso@mit.edu> blkid: Make sure the blocksize in reiserfs is sane

This avoids a floating point exception for corrupt reiserfs images

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
2921332fd88b843ffb828d9c18f05bfd171ace76 27-Jan-2008 Theodore Ts'o <tytso@mit.edu> Teach the blkid library about ext4/ext4dev

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
c40ad3674c9d2f0709cbe8f2f607633f25c4bb4b 11-Jan-2008 Pixel <pixel@mandriva.com> blkid: have ntfs's UUID compatible with vol_id

Ensure the length of the UUID is always the same

without the patch:

% blkid /tmp/a /tmp/b
/tmp/a: UUID="7130E4771519577F" TYPE="ntfs"
/tmp/b: UUID="7E9B4A7CCE99CA" TYPE="ntfs"

with the patch:

% blkid /tmp/a /tmp/b
/tmp/a: UUID="7130E4771519577F" TYPE="ntfs"
/tmp/b: UUID="007E9B4A7CCE99CA" TYPE="ntfs"

ie same as:

% vol_id --uuid /tmp/a ; vol_id --uuid /tmp/b
7130E4771519577F
007E9B4A7CCE99CA

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
b689b8dd14e69c652d2c8211bdef3effe81cfd65 17-Dec-2007 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next

Conflicts:

lib/ext2fs/closefs.c
20c10a766788d9271e36f3ba3b0682a3027cb272 16-Dec-2007 Theodore Ts'o <tytso@mit.edu> blkid: Avoid division by zero error when probing an invalid FAT filesystem

Addresses-Sourceforge-Bug: #1831627

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
042a27f8230804062016194ce151baa6cfff034e 15-Oct-2007 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint' into next
f493d4e0ac93a5c500a2e9360a2398a8637895b6 15-Oct-2007 Eric Sandeen <sandeen@redhat.com> libblkid: recognize squashfs filesystems on BE systems.

squashfs has no uuid or labels, so all we need is the magic
(for big-endian too!)

Addresses-Red-Hat-Bugzilla: #305151

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
/external/e2fsprogs/lib/blkid/probe.c
5845efd1238081e48b0fc37e8bb55c87a0a537bf 25-Sep-2007 Eric Sandeen <sandeen@redhat.com> libblkid: detect squashfs

libblkid: recognize squashfs filesystems

squashfs has no uuid or labels, so all we need is the magic.

Addresses-Red-Hat-Bugzilla: #305151

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
/external/e2fsprogs/lib/blkid/probe.c
2628a1d3e1e581512d136486768685542d2649b1 06-Oct-2007 Theodore Ts'o <tytso@mit.edu> Merge branch 'maint'
846be6db813895c354cc54beaa8fa6aba8d98085 23-Sep-2007 Theodore Ts'o <tytso@mit.edu> libblkid: Add more magic numbers that might mean there is a FAT filesystem

The FAT filesystem doesn't have its superblock with a set of magic
strings in a fixed location. Therefore, we must also check for the
FAT filesystem if it looks like we have an MBR at the beginning of the
partition. We previously checked if the first byte was a jump
instruction but that missed some USB disks with only one bootable
partition. Now we check for the MBR signature (0x55AA at offset 510)
as well as any partition where byte 0 is \351 or \353.

Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
d4e0b1c6f5aa8c6a248d9149ed5634a310952411 04-Aug-2007 Theodore Ts'o <tytso@mit.edu> Fix gcc -Wall warnings

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
0225face1bd0dddaf19ee8089dc28980a0395633 09-Jul-2007 Theodore Ts'o <tytso@mit.edu> Add debugging printf to blkid's probe routine when original fs type failed

This particular bit of code has caused problems before, so make it
easier to debug problems caused by the probe verification looping
forever here.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
30dd2622353b9fde462c9112fb0c863620a3bf91 24-Jun-2007 Theodore Ts'o <tytso@mit.edu> Fix divide by zero error in blkid's NTFS probing logic

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
e382a7eaded3ec6b38114988ae9b0723bb48002a 21-Jun-2007 Karsten Hopp <karsten@redhat.com> Add support for LUKS encrypted partitions

This patch adds support for cryptsetup-luks (http://luks.endorphin.org)
UUIDs to libblkid. This is required p.e. to avoid hardcoding device
names for encrypted partitions. Could you please take a look at it and
consider inclusion in the next e2fsprogs release ?

Signed-off-by: Karsten Hopp <karsten@redhat.com>
/external/e2fsprogs/lib/blkid/probe.c
cb0c5d701a8852f72fe75c9bd223643fb5222399 19-Jun-2007 Theodore Ts'o <tytso@mit.edu> Add more paranoid NTFS probing and fetch UUID and LABEL information

Hopefully this addresses false positives by the blkid library when
detecting NTFS partitions.

Addresses Launchpad Bug: #110138

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
c9105ffbe55d2a25dea9fab0595baace3a59bd51 10-Apr-2007 Sergey Vlasov <vsu@altlinux.ru> blkid: Report correct UUID from MD superblocks

The second part of UUID was copied to a wrong place in the buffer.
Now the UUID shown by blkid is the same as shown by /lib/udev/vol_id
(at least with udev-108), but is not in the same form as used by mdadm
(which prints UUID as 4 32-bit words and uses different endiannes).

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
/external/e2fsprogs/lib/blkid/probe.c
6b8be16e3ac9c5fc350ea25d864df7bb6e2f6f4c 10-Apr-2007 Sergey Vlasov <vsu@altlinux.ru> blkid: Fix MD 0.90 superblock detection on little endian systems

MD 0.90 superblock format is host endian - need to check for bith big
endian and little endian magic. Without this change MD components
created on little endian systems were not detected as such, which
could then lead to false positives when detecting filesystems.

Signed-off-by: Sergey Vlasov <vsu@altlinux.ru>
Signed-off-by: Dmitry V. Levin <ldv@altlinux.org>
/external/e2fsprogs/lib/blkid/probe.c
257ace82b77a281da6d0491294eda6f0b27ef424 07-Mar-2007 Theodore Ts'o <tytso@mit.edu> Fix memory leak in blkid library

Addresses Debian Bug: #413661

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
633f453db14b0fb91294887a9629f5cc2f95407f 18-Sep-2006 Karel Zak <kzak@redhat.com> Fix blkid bug with correctly reporting FAT filesystem labels that are empty

Signed-off-by: Karel Zak <kzak@redhat.com>
/external/e2fsprogs/lib/blkid/probe.c
b5517ca6678d590b52f38ad701fbaf6c9716b73d 18-Sep-2006 Karel Zak <kzak@redhat.com> Add GFS/GFS2 support to the blkid library.

Signed-off-by: Karel Zak <kzak@redhat.com>
/external/e2fsprogs/lib/blkid/probe.c
aadac9b7bbe7d1f4f0db02f3d7dbd70a856f9153 30-May-2006 Matthias Andree <matthias.andree@gmx.de> Add parentheses and casts to make GCC happy.

Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
/external/e2fsprogs/lib/blkid/probe.c
94fa1108eecb92bc595ae6f4927d2aeaea4049e8 30-May-2006 Matthias Andree <matthias.andree@gmx.de> Fix SIGBUS through unaligned access to FAT superblocks.

SPARCs do not like unaligned halfword access and throw SIGBUS.
Read data "manually" instead.

Tested on Solaris 8/SPARC with gcc 2.95.3.

Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
/external/e2fsprogs/lib/blkid/probe.c
12a829dcdc57fb8ddc4887b07b40136288b6e7fe 30-May-2006 Matthias Andree <matthias.andree@gmx.de> Add a bunch of type fixes for debug/"make check" code paths.

Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
/external/e2fsprogs/lib/blkid/probe.c
66352fe20013fb17fc3602a8549c008d7bd68309 30-May-2006 Matthias Andree <matthias.andree@gmx.de> Drop unused vector uuid[].

Signed-off-by: Matthias Andree <matthias.andree@gmx.de>
/external/e2fsprogs/lib/blkid/probe.c
49487b79da9ccc4a5f9d4e8f08c10ec9c8185a90 14-May-2006 Theodore Ts'o <tytso@mit.edu> Fixed signed vs. unsigned comparison warning in strncmp().

It's better to use memcmp() anyway given the code in question.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
292811f2aaa39c3f1ee2cbb56fe2b586f8337946 25-Mar-2006 Theodore Ts'o <tytso@mit.edu> Fix typo bug in previous commit (6ae1ed49c8c6)

"fd" should have been "probe.fd" so blkid/probe.c can compile without
errors.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
2858c94e35909c9edcc434acc1b83746143e704e 24-Mar-2006 Theodore Ts'o <tytso@mit.edu> Fix file descriptor leak in blkid library in error paths

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
e324b250593a32680309015eba7c6c5db7851227 13-Mar-2006 Theodore Ts'o <tytso@mit.edu> Fix blkid's last verification logic to work when the system clock is insane

Users have reported problems on newly installed systems when the
Macintosh's system clock battery is dead and the hardware clock is
returning a date of 1904. Turns out there were some bugs in handling
dates before the Unix epoch.

Addresses Red Hat Bug: #182188

probe.c (blkid_verify): Fix the bid_time sanity checking logic,
so that if last verification time is more recent than the
current time, or the comparison between the last
verification time and the current time causes an overflow,
a device verification will take place.

devname.c (blkid_get_dev): Set the initial bid_time to be
INT_MIN, to guarantee that blkid_verify will always be run
even when the system clock is insane.

dev.c (blkid_debug_dump_dev), read.c (debug_dump_dev),
save.c (save_dev): Fix the printf format for dev->bid_time
to match the fact that it is an signed type.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
ba5e38494e6b42d77f76d9ad18744388958eca7c 11-Mar-2006 Theodore Ts'o <tytso@mit.edu> Add EXT_JOURNAL to the blkid tag of ext3 filesystems.

If the filesystem has an external journal, store the UUID of the
external journal in the tag EXT_JOURNAL.

If the filesystem type has changed, clear all the tags on the device,
not just a preset list of LABEL, UUID, TYPE, and SEC_TYPE.

Fix a bug so that blkid_set_tag will work correctly when freeing a tag
when the input name parameter comes from the tag that we are freeing.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
2f79e5193fa14bb338f14e07c3c96070092b6e8a 11-Sep-2005 Theodore Ts'o <tytso@mit.edu> Search the root directory of FAT filesystems for the label information

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
ca7498596f80896c8c495d5b0c3f20dd12ca9336 11-Sep-2005 Theodore Ts'o <tytso@mit.edu> Generic blkid library cleanup

Change superblock and generic i/o functions to be more generic. Clean
up interface to the probe function. Fix memory leak.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
1e5630abab066035602437ed047e0988064687f0 10-Sep-2005 Theodore Ts'o <tytso@mit.edu> Add a regression test suite for the blkid library

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
45a3fa873852ce407b5eda0f764c63bab04e4c0c 10-Sep-2005 Theodore Ts'o <tytso@mit.edu> Add support to extract basic iso9660 label information to the blkid library

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
bb626bcd546a039b39b9f25e65881b36b2abe24f 10-Sep-2005 Theodore Ts'o <tytso@mit.edu> Add support for detecting the reiser4 filesystem in the blkid library.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
038d2bedaad526f91c9e4f55184bcaa59e245e27 07-Sep-2005 Theodore Ts'o <tytso@mit.edu> Improve blkid's VFAT/FAT filesystem probe code

Collapse vfat and fat code and make it more paranoid when probing for
vat/fat filesystems.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
c4c740ff488dae232dd3a64fccd26ec7265165a4 06-Sep-2005 Karel Zak <kzak@redhat.com> Improve VFAT detection to support filesystems w/o a magic string in the superblock

The current libblkid code expects that there's magic string in FAT super
block (like "FAT12", "FAT16", ...). It's very often right, but valid FAT
super block may be without magic string too :-(

The patch from attachment fix this problem. It's inspired by HAL and
Linux kernel.

Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
abaa11240a742bcfc4783e2cbebb7dd0cdf17e96 06-Sep-2005 Karel Zak <kzak@redhat.com> Add support for detecting software suspend partitions to blkid

Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
05a6edf4fdf3beb93d22116cf4ec39d161ab2790 06-Sep-2005 Karel Zak <kzak@redhat.com> Fix blkid library so that the cache validation notices ext2 to ext3 conversion

There's mistake in blkid ext2 detection code. The libblkid doesn't
check for journal when revalidate the cache information about an ext2
device.

# rm -f /etc/blkid.tab

# mkfs.ext2 /dev/loop0 &> /dev/null
# blkid -s TYPE /dev/loop0
/dev/loop0: TYPE="ext2"

# mkfs.ext3 /dev/loop0 &> /dev/null
# blkid -s TYPE /dev/loop0
/dev/loop0: TYPE="ext2"

That bug doesn't appear when libblkid creates new cache and checks for
all possible filesystems, because it tries ext3 before ext2. BUT when
the library only revalidate the cache it first probes for old cached
filesystem (e.g. ext2).

Signed-off-by: Karel Zak <kzak@redhat.com>
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
/external/e2fsprogs/lib/blkid/probe.c
12b3c8ec1d314b8775fc7d9cefd6bfff551f1de0 07-May-2005 Theodore Ts'o <tytso@mit.edu> Fix gcc -Wall nits in the blkid library.
/external/e2fsprogs/lib/blkid/probe.c
4c4e3f784330978fa127edaa3936957d38c7e93a 06-May-2005 Theodore Ts'o <tytso@mit.edu> Fix libblkid's magic number recognition for the cramfs filesystem,
and add support to pull out the label for cramfs filesystems.
Thanks to Karel Zak (kzak at redhat.com) for the patch.
/external/e2fsprogs/lib/blkid/probe.c
18d12963335b04a402d097af1d714e8708805ada 28-Jan-2005 Theodore Ts'o <tytso@mit.edu> blkid.c (main, compare_search_type): Make blkid -t work more
consistently when the blkid cache file is explicitly set
to /dev/null. (Addresses Debian Bug #292425)

Also expose blkid_verify() as a public function to the blkid library.
/external/e2fsprogs/lib/blkid/probe.c
9d0f46169f8c3df2e07b262b1f1b3f3c75aba2c6 25-Jan-2005 Theodore Ts'o <tytso@mit.edu> probe.c: Windows can perform a "quick format" that doesn't clear
enough of the partition that the blkid probes can get
confused. Do the NTFS test first to deal with this
Windows misfeature. (Addresses Debian Bug #291990)
/external/e2fsprogs/lib/blkid/probe.c
2c92375ea426768a6e37faf876b2b06f0bf781a6 21-Jan-2005 Theodore Ts'o <tytso@mit.edu> Add support to the blkid library to recognize Oracle ASM volumes.
/external/e2fsprogs/lib/blkid/probe.c
7369f0ce5fdde7f8a1cc6e49211469b905c2c58f 11-Jan-2005 Theodore Ts'o <tytso@mit.edu> Apply Janos Farkas's patch to support extracting the uuid and label
information from swap partitions.

Also make sure that if a partition has a label removed, that the label is
removed form the blkid cache as well.

Add support for detecting 32k and 64k pagesize swap files.
/external/e2fsprogs/lib/blkid/probe.c
2e6a9febb48ea0e57d32cacb5e67220443c0e059 05-Jan-2005 Theodore Ts'o <tytso@mit.edu> Adjust blkid library so that it returns vfat in preference to msdos so
that mount will try to use the vfat filesystem. (Addresses Debian bug #287455)

Similarly, the blkid library will now return an ext3 type for ext 2/3
filesystems that have the journal capability set.

We allow files to be probed by the blkid library, to make it easier to
test the library. However, we also added safety checks to avoid saving
relative pathnames to blkid.tab, and probe_one() will only check block device
files.
/external/e2fsprogs/lib/blkid/probe.c
3838f7df134035089e8e8df317112e4fd645602d 01-Dec-2004 Theodore Ts'o <tytso@mit.edu> Avoid using uint and uchar types when probing for ocfs2 filesystems
in the blkid library, to allow compilation using dietlibc.
/external/e2fsprogs/lib/blkid/probe.c
4b8f81aace86dd308d5af4669eab116d1a8c8418 19-Nov-2004 Theodore Ts'o <tytso@mit.edu> probe.c (probe_ocfs): Fix bug where the wrong size for "ocfs1"
was being passed to blkid_set_tag(). Thanks to Andrea
Dilger for pointing this out.
/external/e2fsprogs/lib/blkid/probe.c
414846b126d4d751bd6b36df0a39dcb030e0feb3 18-Sep-2004 Theodore Ts'o <tytso@mit.edu> Add support for ocfs2 detection to the blkid library,
courtesy of manish.singh@oracle.com
/external/e2fsprogs/lib/blkid/probe.c
7ce08064061ed66647fa2c152c65f2f28eac9a0a 20-Apr-2004 Theodore Ts'o <tytso@mit.edu> probe.c (blkid_verify_devname): If the time is earlier than the
last modified time of the device, then force a reverify;
it means the system time may not be trustworthy.
/external/e2fsprogs/lib/blkid/probe.c
9387c281ef88cd1fba7cb1c9336b5ab00a2d82b4 05-Mar-2004 Theodore Ts'o <tytso@mit.edu> probe.c (probe_ocfs), probe.h: Add support for the Oracle
Cluster Filesystem (ocfs). Patches courtesy of Rusty
Lynch (rusty@linux.co.intel.com).
/external/e2fsprogs/lib/blkid/probe.c
544349270e4c74a6feb971123884a8cf5052a7ee 07-Dec-2003 Theodore Ts'o <tytso@mit.edu> Fix gcc -Wall nitpicks
/external/e2fsprogs/lib/blkid/probe.c
3de5bf61060634c5c8c3a0d231e8a7246094a2c2 22-Jul-2003 Theodore Ts'o <tytso@mit.edu> probe.c (probe_udf): Add specific UDF probing code, and probe
UDF before checking for ISO9660 filesystems.
/external/e2fsprogs/lib/blkid/probe.c
78e2edf796e7902b8ce615ca8388840ef1387194 22-Jul-2003 Theodore Ts'o <tytso@mit.edu> probe.c (blkid_known_fstype): New function which returns true if
the filesystem type is one which this blkid library supports.
/external/e2fsprogs/lib/blkid/probe.c
a30b9446d1899260159968826428722f2dcbbc64 20-Jul-2003 Theodore Ts'o <tytso@mit.edu> probe.c: When revalidating a filesystem in the blkid library,
delete the LABEL tag if the filesystem no longer has a label.
/external/e2fsprogs/lib/blkid/probe.c
48e6e81362f264aee4f3945c14928efaf71a06c9 06-Jul-2003 Theodore Ts'o <tytso@mit.edu> Fixx gcc -Wall nitpicks.
/external/e2fsprogs/lib/blkid/probe.c
09a2ef8ddab7fed91b9ec8314e0a10e11d3c0323 03-Apr-2003 Theodore Ts'o <tytso@mit.edu> Fix XFS superblock definition. Add support to
extract UUID and labels for JFS and romfs. (Thanks to
Janos Farkas <chexum@acomp.hu>.)
/external/e2fsprogs/lib/blkid/probe.c
79dd234a799434b6dc8365c49e743f00eb09d2fd 22-Feb-2003 Theodore Ts'o <tytso@mit.edu> 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.
/external/e2fsprogs/lib/blkid/probe.c
f0a22d0fd3ec3f45b562af5afba8811f72b94a28 22-Feb-2003 Theodore Ts'o <tytso@mit.edu> Add dynamic debugging capabilities to the blkid library,
controlled by the environment variable BLKID_DEBUG. The debugging
code is enabled by a new configuration option, --enable-blkid-debug.
/external/e2fsprogs/lib/blkid/probe.c
98999c399d563c248728bf217467a788cb0c1aad 16-Feb-2003 Theodore Ts'o <tytso@mit.edu> Rename blkid_get_devname() to blkid_get_dev(), and blkid_get_token()
to blkid_get_devname().
/external/e2fsprogs/lib/blkid/probe.c
ce72b862c59da24ba16b354d687549276a24f908 14-Feb-2003 Theodore Ts'o <tytso@mit.edu> Add a priority label to the device structure, so we can give
preference to EVMS and LVM devices when searching for a device
matching a particular LABEL or UUID in the blkid library.
/external/e2fsprogs/lib/blkid/probe.c
50b380b4d4ab668bad45033e3a8aaf93c7f42844 13-Feb-2003 Theodore Ts'o <tytso@mit.edu> Wholesale changes to blkid library to simplify the implementation
and shrink its size. Change library version to be 1.0.
/external/e2fsprogs/lib/blkid/probe.c
76b07bb1bc9cbcb70a94cb235954eaac993920ad 27-Jan-2003 Theodore Ts'o <tytso@mit.edu> Roto-till and clean up libblkid API.


read.c (parse_tag): Do not return that blkid_tag when parsing
the blkid.tag file.

resolve.c (blkid_get_token, blkid_get_tagname_devname): Fold in
code from removed functions

tag.c (blkid_create_tag): Don't return the newly tag strcture
any more, as it's not needed.
(blkid_find_tag_cache, blkid_get_tag_cache,
blkid_token_to_tag, blkid_find_tv_tags): Remove these
functions, as they are either only used once or have
interfaces that should be deprecated.
(blkid_find_tag_dev, blkid_find_head_cache): Replace use
of blkid_tag with one or two const char * type/value
arguments.
(blkid_find_dev_with_tag): Fold in code from removed functions

probe.h, probe.c: Use a more sophisticated set of byte-swapping
routines which are more compact and efficient. Drop
calculation of bid_free, since it's unnecessary. Avoid

save.c (blkid_save_cache): Set the permissions on the blkid
cache file to 644.
/external/e2fsprogs/lib/blkid/probe.c
7a603aa89fcffb8798eca34ca3858db6f0393046 26-Jan-2003 Theodore Ts'o <tytso@mit.edu> Separate public and private interfaces into separate header files.
Start separating internal implementation details from the
publically exported interface of the blkid library.
/external/e2fsprogs/lib/blkid/probe.c
d3f917989badf78d1f97654e46d60d1f3d25cd17 25-Jan-2003 Theodore Ts'o <tytso@mit.edu> Fix gcc -Wall nits.
/external/e2fsprogs/lib/blkid/probe.c
e12f2ae74c2eb8997bf13adf8fdd7e7313971eae 23-Jan-2003 Theodore Ts'o <tytso@mit.edu> Integrate new blkid library.
/external/e2fsprogs/lib/blkid/probe.c