summaryrefslogtreecommitdiff
path: root/tests/expected
diff options
context:
space:
mode:
authorAndreas Dilger <adilger@sun.com>2010-02-17 10:21:27 +0100
committerKarel Zak <kzak@redhat.com>2010-02-17 10:23:55 +0100
commite54a76ca076625b1883ddf0595162eb8de81d5d1 (patch)
treee922e7dc9202bcd423730447f0ab2aaff39cc264 /tests/expected
parent98e9ff610ed0a3a80a7478336acff99133199375 (diff)
downloadutil-linux-old-e54a76ca076625b1883ddf0595162eb8de81d5d1.tar.gz
libblkid: fix ZSF detection
Fix the ZFS device detection by looking at multiple uberblocks to see if any are present, rather than looking for the ZFS boot block which is not always present. There may be up to 128 uberblocks, but the first 4 are not written to disk on a newly-formatted filesystem so check several of them at different offsets within the uberblock array. [kzak@redhat.com: - port e2fsprogs patch to util-linux-ng] Signed-off-by: Andreas Dilger <adilger@sun.com> Signed-off-by: Karel Zak <kzak@redhat.com>
Diffstat (limited to 'tests/expected')
-rw-r--r--tests/expected/blkid/low-probe-zfs2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/expected/blkid/low-probe-zfs b/tests/expected/blkid/low-probe-zfs
index 94cec8b3..8159f18c 100644
--- a/tests/expected/blkid/low-probe-zfs
+++ b/tests/expected/blkid/low-probe-zfs
@@ -1,3 +1,3 @@
ID_FS_TYPE=zfs
ID_FS_USAGE=filesystem
-ID_FS_VERSION=1
+ID_FS_VERSION=8