]> err.no Git - util-linux/log
util-linux
15 years agoblkid: fix ..._strncpy_uuid
Karel Zak [Fri, 23 Jan 2009 21:55:37 +0000 (22:55 +0100)]
blkid: fix ..._strncpy_uuid

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add ddf raid regression test
Karel Zak [Thu, 22 Jan 2009 00:35:39 +0000 (01:35 +0100)]
blkid: add ddf raid regression test

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: fix blkid_do_probe()
Karel Zak [Thu, 22 Jan 2009 00:28:39 +0000 (01:28 +0100)]
blkid: fix blkid_do_probe()

Fix small non-sense from from a recent commit.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: remove unnecessary debug message
Karel Zak [Thu, 22 Jan 2009 00:18:13 +0000 (01:18 +0100)]
blkid: remove unnecessary debug message

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: use blkid_probe_strcpy_uuid() for luks
Karel Zak [Thu, 22 Jan 2009 00:17:08 +0000 (01:17 +0100)]
blkid: use blkid_probe_strcpy_uuid() for luks

LUKS stores UUID as a string...

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: improve ddf detection
Karel Zak [Thu, 22 Jan 2009 00:15:02 +0000 (01:15 +0100)]
blkid: improve ddf detection

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: set size for non-blkdevs, add blkid_probe_strcpy_uuid()
Karel Zak [Thu, 22 Jan 2009 00:06:57 +0000 (01:06 +0100)]
blkid: set size for non-blkdevs, add blkid_probe_strcpy_uuid()

- fix blkid_probe_set_device() to work for non-blkdevs (e.g. file images),
  in such case we need to set the size of data from stat->st_size

- add blkid_probe_strcpy_uuid() for filesystems where UUID is stored as a string
  (e.g. DDF raid, luks, ...)

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add netware regression test
Karel Zak [Wed, 21 Jan 2009 21:09:53 +0000 (22:09 +0100)]
blkid: add netware regression test

Thanks to Kay Sievers for the image and information.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: netware SB has to be packed
Karel Zak [Wed, 21 Jan 2009 18:23:10 +0000 (19:23 +0100)]
blkid: netware SB has to be packed

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add hpfs regression test
Karel Zak [Wed, 21 Jan 2009 16:09:51 +0000 (17:09 +0100)]
blkid: add hpfs regression test

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: fix udev output
Karel Zak [Wed, 21 Jan 2009 16:01:22 +0000 (17:01 +0100)]
blkid: fix udev output

- uses the "safe" output for non-encoded values
- makes the print_udev_format() more readable

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: remove unexpected exit from *_subtest functions
Karel Zak [Wed, 21 Jan 2009 16:00:55 +0000 (17:00 +0100)]
tests: remove unexpected exit from *_subtest functions

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: fix blkid_safe_string()
Karel Zak [Wed, 21 Jan 2009 15:58:04 +0000 (16:58 +0100)]
blkid: fix blkid_safe_string()

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add a note to TODO list
Karel Zak [Tue, 20 Jan 2009 22:58:44 +0000 (23:58 +0100)]
blkid: add a note to TODO list

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: add libblkid regression tests (images from e2fsprogs)
Karel Zak [Tue, 20 Jan 2009 22:43:56 +0000 (23:43 +0100)]
tests: add libblkid regression tests (images from e2fsprogs)

- adds basic infrastructure for blkid regression tests
- imports test images from e2fsprogs (all tests PASS!:-)

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: fix the final message for subtests
Karel Zak [Tue, 20 Jan 2009 22:42:33 +0000 (23:42 +0100)]
tests: fix the final message for subtests

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: add support for subtests
Karel Zak [Tue, 20 Jan 2009 14:38:01 +0000 (15:38 +0100)]
tests: add support for subtests

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: move some generic stuff from ts_init() to a new ts_init_env()
Karel Zak [Tue, 20 Jan 2009 12:19:43 +0000 (13:19 +0100)]
tests: move some generic stuff from ts_init() to a new ts_init_env()

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: add "byte-order" to helpers/test_sysinfo
Karel Zak [Tue, 20 Jan 2009 12:18:22 +0000 (13:18 +0100)]
tests: add "byte-order" to helpers/test_sysinfo

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: fix output string
Karel Zak [Mon, 19 Jan 2009 23:57:57 +0000 (00:57 +0100)]
tests: fix output string

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: cleanup ts/mount
Karel Zak [Mon, 19 Jan 2009 23:50:01 +0000 (00:50 +0100)]
tests: cleanup ts/mount

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: cleanup ts/swapon
Karel Zak [Mon, 19 Jan 2009 23:24:23 +0000 (00:24 +0100)]
tests: cleanup ts/swapon

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: cleanup ts/script
Karel Zak [Mon, 19 Jan 2009 23:16:53 +0000 (00:16 +0100)]
tests: cleanup ts/script

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: cleanup ts/paths
Karel Zak [Mon, 19 Jan 2009 23:14:02 +0000 (00:14 +0100)]
tests: cleanup ts/paths

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: cleanup ts/namei
Karel Zak [Mon, 19 Jan 2009 23:12:24 +0000 (00:12 +0100)]
tests: cleanup ts/namei

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: cleanup ts/look
Karel Zak [Mon, 19 Jan 2009 23:02:50 +0000 (00:02 +0100)]
tests: cleanup ts/look

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: cleanup ts/login
Karel Zak [Mon, 19 Jan 2009 22:59:51 +0000 (23:59 +0100)]
tests: cleanup ts/login

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: cleanup ts/ipcs
Karel Zak [Mon, 19 Jan 2009 22:57:10 +0000 (23:57 +0100)]
tests: cleanup ts/ipcs

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: cleanup ts/hwclock
Karel Zak [Mon, 19 Jan 2009 22:41:21 +0000 (23:41 +0100)]
tests: cleanup ts/hwclock

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: refresh and cleanup cramfs/mkfs
root [Mon, 19 Jan 2009 22:35:35 +0000 (23:35 +0100)]
tests: refresh and cleanup cramfs/mkfs

Signed-off-by: root <root@nb.net.home>
15 years agotests: cleanup ts/col scripts
Karel Zak [Mon, 19 Jan 2009 21:39:29 +0000 (22:39 +0100)]
tests: cleanup ts/col scripts

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: cleanup ts/cal scripts
Karel Zak [Mon, 19 Jan 2009 21:37:52 +0000 (22:37 +0100)]
tests: cleanup ts/cal scripts

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: fix TS_* paths
Karel Zak [Mon, 19 Jan 2009 21:36:27 +0000 (22:36 +0100)]
tests: fix TS_* paths

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: add ./run.sh <component>
Karel Zak [Mon, 19 Jan 2009 17:27:15 +0000 (18:27 +0100)]
tests: add ./run.sh <component>

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: add support for subdirs to basic test functions
Karel Zak [Mon, 19 Jan 2009 17:08:06 +0000 (18:08 +0100)]
tests: add support for subdirs to basic test functions

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: create expected/$(component)/$(testname)
Karel Zak [Mon, 19 Jan 2009 16:29:17 +0000 (17:29 +0100)]
tests: create expected/$(component)/$(testname)

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: remove input directory
Karel Zak [Mon, 19 Jan 2009 16:17:42 +0000 (17:17 +0100)]
tests: remove input directory

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agotests: create subdirs for test scripts
Karel Zak [Mon, 19 Jan 2009 15:50:51 +0000 (16:50 +0100)]
tests: create subdirs for test scripts

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: refresh TODO file
Karel Zak [Wed, 14 Jan 2009 15:37:46 +0000 (16:37 +0100)]
blkid: refresh TODO file

... some nice ideas from brainstorming with Ted, Kay and Scott.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: use sizeof() for hfs uuid
Karel Zak [Wed, 14 Jan 2009 15:25:56 +0000 (16:25 +0100)]
blkid: use sizeof() for hfs uuid

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: hfs - do not set UUID for emtpy finder info
Kay Sievers [Mon, 8 Dec 2008 15:28:40 +0000 (16:28 +0100)]
blkid: hfs - do not set UUID for emtpy finder info

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
15 years agoblkid: refresh TODO file
Karel Zak [Wed, 14 Jan 2009 00:54:08 +0000 (01:54 +0100)]
blkid: refresh TODO file

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add udev ID_FS_* output to blkid binary
Karel Zak [Wed, 14 Jan 2009 00:53:24 +0000 (01:53 +0100)]
blkid: add udev ID_FS_* output to blkid binary

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add udev string encoding routines
Karel Zak [Wed, 14 Jan 2009 00:52:11 +0000 (01:52 +0100)]
blkid: add udev string encoding routines

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add -p and low-probe mode to blkid binary
Karel Zak [Tue, 13 Jan 2009 23:22:22 +0000 (00:22 +0100)]
blkid: add -p and low-probe mode to blkid binary

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add DEBUG_LOWPROBE, cleanup a little debug stuff
Karel Zak [Tue, 13 Jan 2009 22:39:15 +0000 (23:39 +0100)]
blkid: add DEBUG_LOWPROBE, cleanup a little debug stuff

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add btrfs support
Karel Zak [Mon, 12 Jan 2009 23:11:21 +0000 (00:11 +0100)]
blkid: add btrfs support

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: remove unnecessary ifdef __cplusplus
Karel Zak [Tue, 9 Dec 2008 13:25:32 +0000 (14:25 +0100)]
blkid: remove unnecessary ifdef __cplusplus

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: recognize ext3 with test_fs set as ext3
Eric Sandeen [Mon, 8 Dec 2008 14:37:18 +0000 (15:37 +0100)]
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.

[kzak@redhat.com: port from e2fsprogs to util-linux-ng tree]

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: Refuse to create a device structure for a non-existent device
Theodore Ts'o [Mon, 8 Dec 2008 14:34:28 +0000 (15:34 +0100)]
blkid: Refuse to create a device structure for a non-existent device

Fix blkid_get_dev() so it will never return a device structure if the
device file doesn't exist.

[kzak@redhat.com: port from e2fsprogs to util-linux-ng tree]

Addresses-Debian-Bug: #502541
Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: fix file descriptor leak when checking for a module
Karel Zak [Mon, 8 Dec 2008 14:32:44 +0000 (15:32 +0100)]
blkid: fix file descriptor leak when checking for a module

[kzak@redhat.com: port from e2fsprogs to util-linux-ng tree]

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkis: fix detection of ext4dev as ext4
Eric Sandeen [Mon, 8 Dec 2008 14:28:49 +0000 (15:28 +0100)]
blkis: fix 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.

[kzak@redhat.com: port from e2fsprogs to util-linux-ng tree]

Signed-off-by: Eric Sandeen <sandeen@redhat.com>
Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: use Requires.private and fix the include directory
Karel Zak [Mon, 8 Dec 2008 14:21:23 +0000 (15:21 +0100)]
blkid: use Requires.private and fix the include directory

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: Give a priority bonus to "leaf" devicemapper devices
Theodore Ts'o [Mon, 8 Dec 2008 14:07:13 +0000 (15:07 +0100)]
blkid: Give a priority bonus to "leaf" devicemapper devices

Give a boost to dm devices which are not used to build other dm
devices, since "leaf" devices are generally more likely to be
interesting as devices to mount.

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: Unexport the private symbol blkid_devdirs
Theodore Ts'o [Mon, 8 Dec 2008 14:05:03 +0000 (15:05 +0100)]
blkid: Unexport the private symbol blkid_devdirs

blkid_devdirs was defined in blkidP.h and was never intended to be
used outside of the library.  Since it no longer needs to be shared
across object files, rename it and turn it into a static variable.

Signed-off-by: Theodore Ts'o <tytso@mit.edu>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agobuild-sys: remove use of devmapper library
Karel Zak [Mon, 8 Dec 2008 14:00:03 +0000 (15:00 +0100)]
build-sys: remove use of devmapper library

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: Optimize devicemapper support
Theodore Ts'o [Mon, 8 Dec 2008 13:28:35 +0000 (14:28 +0100)]
blkid: Optimize devicemapper support

This commit works by removing all calls from libdevmapper altogether,
and using the standard support for "normal" non-dm devices.

It depends on dm devices being placed in /dev/mapper (but the previous
code had this dependency anyway), and /proc/partitions containing dm
devices.

We don't actually rip out the libdevmapper code in this commit, but
just disable it via #undef HAVE_DEVMAPPER, just so it's easier to
review and understand the fundamental code changes.  A subsequent
commit will remove the libdevmapper code, as well as unexport
the blkid_devdirs string array.

Thanks to Karel Zak for inspiring me to look at the dm code in blkid,
so I could realize how much it deserved to ripped out by its roots.  :-)

[kzak@redhat.com: port from e2fsprogs to util-linux-ng tree]

Signed-off-by: "Theodore Ts'o" <tytso@mit.edu>
Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: hfs - use proper native UUID format
Kay Sievers [Sat, 6 Dec 2008 16:12:55 +0000 (17:12 +0100)]
blkid: hfs - use proper native UUID format

Here is the md5'd UUID for hfs:
  $ LD_LIBRARY_PATH=libs/blkid/src/ libs/blkid/bin/blkid ../../volume_images/hfs-extended.img
  UUID="56a19597-a3c8-325d-9df2-f30bc6f8ac09" LABEL="I am HFS Extended" TYPE="hfsplus"

  $ /lib/udev/vol_id ../../volume_images/hfs-extended.img
  ID_FS_USAGE=filesystem
  ID_FS_TYPE=hfsplus
  ID_FS_VERSION=
  ID_FS_UUID=56a19597-a3c8-325d-9df2-f30bc6f8ac09
  ID_FS_UUID_ENC=56a19597-a3c8-325d-9df2-f30bc6f8ac09
  ID_FS_LABEL=I_am_HFS_Extended
  ID_FS_LABEL_ENC=I\x20am\x20HFS\x20Extended

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
15 years agoblkid: vfat - fix declaration
Kay Sievers [Sat, 6 Dec 2008 15:24:23 +0000 (16:24 +0100)]
blkid: vfat - fix declaration

The vrfy.org url does not exist anymore, it's all in the udev tree,
and hopefully not for long anymore. :)

The blkid_idinfo does not work. :)

Signed-off-by: Kay Sievers <kay.sievers@vrfy.org>
15 years agoblkid: add sysv and xenix
Karel Zak [Thu, 4 Dec 2008 13:40:56 +0000 (14:40 +0100)]
blkid: add sysv and xenix

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add netware (NSS)
Karel Zak [Thu, 4 Dec 2008 10:56:54 +0000 (11:56 +0100)]
blkid: add netware (NSS)

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add squashfs
Karel Zak [Thu, 4 Dec 2008 10:37:18 +0000 (11:37 +0100)]
blkid: add squashfs

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: remove blkid_types.h
Karel Zak [Wed, 3 Dec 2008 22:34:23 +0000 (23:34 +0100)]
blkid: remove blkid_types.h

We needn't to use kernel types, in userspace we have portable
stdint.h.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: fix hedeader in ntfs.c
Karel Zak [Wed, 3 Dec 2008 14:52:40 +0000 (15:52 +0100)]
blkid: fix hedeader in ntfs.c

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: use posix uintXX_t in lvm code
Karel Zak [Wed, 3 Dec 2008 14:32:21 +0000 (15:32 +0100)]
blkid: use posix uintXX_t in lvm code

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: use posix uint32_t in ocfs superblock
Karel Zak [Wed, 3 Dec 2008 14:15:16 +0000 (15:15 +0100)]
blkid: use posix uint32_t in ocfs superblock

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: fix highpoint37x offset
Karel Zak [Wed, 3 Dec 2008 14:11:10 +0000 (15:11 +0100)]
blkid: fix highpoint37x offset

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: cleanup starts of probing files
Karel Zak [Wed, 3 Dec 2008 13:37:46 +0000 (14:37 +0100)]
blkid: cleanup starts of probing files

 * libblkid was and is licensed under LGPL

   The GPL comment in some files was unwished mistake (copy & past the
   start of files from my other project....).

 * add information about inspiration by libvolume_id

 * rename *_meta to _metadata
 * rename *_off to off
 * use sizeof() rather than some magic constants

 * remove unnecessary #includes

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add HPFS
Karel Zak [Wed, 3 Dec 2008 10:25:43 +0000 (11:25 +0100)]
blkid: add HPFS

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add TODO file
Karel Zak [Mon, 1 Dec 2008 13:32:44 +0000 (14:32 +0100)]
blkid: add TODO file

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add proper copying info
Karel Zak [Mon, 1 Dec 2008 13:14:26 +0000 (14:14 +0100)]
blkid: add proper copying info

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: remove unused stuff from Makefile
Karel Zak [Fri, 28 Nov 2008 13:41:05 +0000 (14:41 +0100)]
blkid: remove unused stuff from Makefile

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add UFS
Karel Zak [Fri, 28 Nov 2008 12:39:48 +0000 (13:39 +0100)]
blkid: add UFS

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add minix
Karel Zak [Tue, 25 Nov 2008 12:59:26 +0000 (13:59 +0100)]
blkid: add minix

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add vxfs
Karel Zak [Tue, 25 Nov 2008 12:11:59 +0000 (13:11 +0100)]
blkid: add vxfs

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add lvm1
Karel Zak [Fri, 21 Nov 2008 11:37:01 +0000 (12:37 +0100)]
blkid: add lvm1

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add highpoint{37x,45x} RAIDs
Karel Zak [Fri, 21 Nov 2008 11:24:07 +0000 (12:24 +0100)]
blkid: add highpoint{37x,45x} RAIDs

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add version and probe FSInfo
Karel Zak [Thu, 20 Nov 2008 14:04:48 +0000 (15:04 +0100)]
blkid: add version and probe FSInfo

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: support detection of multiple signatures
Karel Zak [Thu, 20 Nov 2008 12:00:43 +0000 (13:00 +0100)]
blkid: support detection of multiple signatures

The classic way is to return the first successfully detected signature
(filesystem/raid).  Unfortunately, sometimes we need to check for all
possible signatures, because on some volumes (e.g. CD-ROMs) is possible
to store multiple filesystems.

Sometimes we need to check for all filesystems to avoid situation that
we return wrong result (e.g. swap and FAT on the same device).

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add LUKS support
Karel Zak [Wed, 5 Nov 2008 13:39:36 +0000 (14:39 +0100)]
blkid: add LUKS support

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: re-order list of filesystems
Karel Zak [Wed, 5 Nov 2008 10:41:06 +0000 (11:41 +0100)]
blkid: re-order list of filesystems

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add VFAT support
Karel Zak [Tue, 4 Nov 2008 10:37:10 +0000 (11:37 +0100)]
blkid: add VFAT support

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add UDF support
Karel Zak [Tue, 4 Nov 2008 09:50:14 +0000 (10:50 +0100)]
blkid: add UDF support

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add LVM2 support and a fix _sprintf_uuid() bug
Karel Zak [Thu, 16 Oct 2008 12:46:50 +0000 (14:46 +0200)]
blkid: add LVM2 support and a fix _sprintf_uuid() bug

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add iso9600
Karel Zak [Mon, 13 Oct 2008 14:06:03 +0000 (16:06 +0200)]
blkid: add iso9600

Notes:

- the original libblkid does not make difference between High Sierra and
the standard iso9660 (the superblock is different). This bugs is fixed.

- the original libblkid does not detect for MS Joliet Extension.
This bugs is fixed.

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add missing hfs.c
Karel Zak [Mon, 13 Oct 2008 10:17:19 +0000 (12:17 +0200)]
blkid: add missing hfs.c

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add HTFS
Karel Zak [Mon, 13 Oct 2008 10:16:28 +0000 (12:16 +0200)]
blkid: add HTFS

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add GFS2 UUID support
Karel Zak [Mon, 13 Oct 2008 09:34:58 +0000 (11:34 +0200)]
blkid: add GFS2 UUID support

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add HFS and HFS+
Karel Zak [Thu, 9 Oct 2008 10:00:20 +0000 (12:00 +0200)]
blkid: add HFS and HFS+

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoadd reiser and reiser4
Karel Zak [Thu, 25 Sep 2008 22:47:51 +0000 (00:47 +0200)]
add reiser and reiser4

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: fix blkid_probe_sprintf_version() usage
Karel Zak [Thu, 25 Sep 2008 21:55:00 +0000 (23:55 +0200)]
blkid: fix blkid_probe_sprintf_version() usage

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add __attribute__ ((format))
Karel Zak [Thu, 25 Sep 2008 21:54:19 +0000 (23:54 +0200)]
blkid: add __attribute__ ((format))

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add ocfs and oracleasm
Karel Zak [Thu, 25 Sep 2008 21:25:38 +0000 (23:25 +0200)]
blkid: add ocfs and oracleasm

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add romfs
Karel Zak [Tue, 23 Sep 2008 13:40:12 +0000 (15:40 +0200)]
blkid: add romfs

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add GFS and GFS2
Karel Zak [Tue, 23 Sep 2008 13:22:55 +0000 (15:22 +0200)]
blkid: add GFS and GFS2

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: fix xfs label
Karel Zak [Tue, 23 Sep 2008 12:59:53 +0000 (14:59 +0200)]
blkid: fix xfs label

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: fix ext2 SEC_TYPE
Karel Zak [Tue, 23 Sep 2008 12:57:53 +0000 (14:57 +0200)]
blkid: fix ext2 SEC_TYPE

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add xfs
Karel Zak [Thu, 18 Sep 2008 11:23:56 +0000 (13:23 +0200)]
blkid: add xfs

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add blkid_probe_get_sb() macro
Karel Zak [Thu, 18 Sep 2008 11:15:21 +0000 (13:15 +0200)]
blkid: add blkid_probe_get_sb() macro

Signed-off-by: Karel Zak <kzak@redhat.com>
15 years agoblkid: add jfs
Karel Zak [Thu, 18 Sep 2008 10:08:40 +0000 (12:08 +0200)]
blkid: add jfs

Signed-off-by: Karel Zak <kzak@redhat.com>