summaryrefslogtreecommitdiffstats
path: root/shlibs/blkid/src/blkidP.h
diff options
context:
space:
mode:
authorAndreas Dilger2010-02-17 10:21:27 +0100
committerKarel Zak2010-02-17 10:23:55 +0100
commite54a76ca076625b1883ddf0595162eb8de81d5d1 (patch)
treee922e7dc9202bcd423730447f0ab2aaff39cc264 /shlibs/blkid/src/blkidP.h
parentswapon: fix swapsize calculation (diff)
downloadkernel-qcow2-util-linux-e54a76ca076625b1883ddf0595162eb8de81d5d1.tar.gz
kernel-qcow2-util-linux-e54a76ca076625b1883ddf0595162eb8de81d5d1.tar.xz
kernel-qcow2-util-linux-e54a76ca076625b1883ddf0595162eb8de81d5d1.zip
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 'shlibs/blkid/src/blkidP.h')
0 files changed, 0 insertions, 0 deletions