summaryrefslogtreecommitdiffstats
Commit message (Collapse)AuthorAgeFilesLines
* blkid: add new options to blkid.8 and help outputKarel Zak2009-02-112-46/+67
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: support via raid version 2Sven Jost2009-02-111-1/+1
| | | | | | [kzak@redhat.com: patch from udev volume_id] Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: refresh TODO fileKarel Zak2009-02-111-14/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix typo in low-probe testKarel Zak2009-02-111-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: cleanup _LOGPROBE debug messagesKarel Zak2009-02-111-9/+11
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add blkid_do_safeprobe()Karel Zak2009-02-118-7/+66
| | | | | | | | | | | | | | | | | | | The function blkid_do_probe() is able to detect more filesystems on the device while(blkid_do_probe(pr) == 0) ... but in many cases we need only one exact answer, and we also need to be sure that there is not any other FS on the device. For example it's possible to create valid LUKS (or vfat, ...) header and valid linux swap header on the same device -- in such case the device can be interpreted (by mount/swapon) in two completely different ways. An ambivalent result is always error -- the library never returns such result. Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add lvm2 reg.testKarel Zak2009-02-112-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add version support to LVM2Karel Zak2009-02-111-0/+4
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add GFS2 reg. testKarel Zak2009-02-112-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add uuid and version support to gfs2Karel Zak2009-02-111-6/+4Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add reg.tests for HFS and HFS+Karel Zak2009-02-114-0/+8
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add vol_id call to blkid regression testKarel Zak2009-02-111-0/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add to reiserKarel Zak2009-02-113-2/+12
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add ocfs2 versionKarel Zak2009-02-112-9/+55
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: fix ..._strncpy_uuidKarel Zak2009-02-112-3/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add ddf raid regression testKarel Zak2009-02-112-0/+5
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: fix blkid_do_probe()Karel Zak2009-02-112-2/+5
| | | | | | Fix small non-sense from from a recent commit. Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: remove unnecessary debug messageKarel Zak2009-02-111-5/+1Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: use blkid_probe_strcpy_uuid() for luksKarel Zak2009-02-111-1/+1
| | | | | | LUKS stores UUID as a string... Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: improve ddf detectionKarel Zak2009-02-111-15/+27
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: set size for non-blkdevs, add blkid_probe_strcpy_uuid()Karel Zak2009-02-112-22/+48
| | | | | | | | | | - 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>
* blkid: add netware regression testKarel Zak2009-02-112-0/+5
| | | | | | Thanks to Kay Sievers for the image and information. Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: netware SB has to be packedKarel Zak2009-02-111-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add hpfs regression testKarel Zak2009-02-112-0/+7
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: fix udev outputKarel Zak2009-02-111-9/+8Star
| | | | | | | - uses the "safe" output for non-encoded values - makes the print_udev_format() more readable Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: remove unexpected exit from *_subtest functionsKarel Zak2009-02-111-1/+0Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: fix blkid_safe_string()Karel Zak2009-02-111-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* blkid: add a note to TODO listKarel Zak2009-02-111-0/+3
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add libblkid regression tests (images from e2fsprogs)Karel Zak2009-02-1137-0/+138
| | | | | | | - adds basic infrastructure for blkid regression tests - imports test images from e2fsprogs (all tests PASS!:-) Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix the final message for subtestsKarel Zak2009-02-111-8/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add support for subtestsKarel Zak2009-02-111-20/+77
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: move some generic stuff from ts_init() to a new ts_init_env()Karel Zak2009-02-111-4/+9
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add "byte-order" to helpers/test_sysinfoKarel Zak2009-02-111-1/+18
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix output stringKarel Zak2009-02-111-1/+1
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup ts/mountKarel Zak2009-02-1119-104/+59Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup ts/swaponKarel Zak2009-02-114-24/+17Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup ts/scriptKarel Zak2009-02-111-4/+3Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup ts/pathsKarel Zak2009-02-111-5/+3Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup ts/nameiKarel Zak2009-02-112-18/+12Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup ts/lookKarel Zak2009-02-111-4/+2Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup ts/loginKarel Zak2009-02-112-8/+6Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup ts/ipcsKarel Zak2009-02-115-12/+12
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup ts/hwclockKarel Zak2009-02-111-5/+3Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: refresh and cleanup cramfs/mkfsroot2009-02-113-2579/+2588
| | | | Signed-off-by: root <root@nb.net.home>
* tests: cleanup ts/col scriptsKarel Zak2009-02-111-5/+3Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: cleanup ts/cal scriptsKarel Zak2009-02-113-11/+6Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: fix TS_* pathsKarel Zak2009-02-113-31/+25Star
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add ./run.sh <component>Karel Zak2009-02-111-1/+18
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: add support for subdirs to basic test functionsKarel Zak2009-02-119-34/+60
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>
* tests: create expected/$(component)/$(testname)Karel Zak2009-02-1136-57/+57
| | | | Signed-off-by: Karel Zak <kzak@redhat.com>