[PATCH] e2fsprogs: fix ZFS filesystem detection

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



While blkid has mostly migrated to util-linux-ng (which has gotten a more
sophisticated checking routine), the existing e2fsprogs ZFS filesystem
detection isn't always correct.  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.

Cheers, Andreas


Attachment: e2fsprogs-blkid-zfs.patch
Description: Binary data


[Index of Archives]     [Reiser Filesystem Development]     [Ceph FS]     [Kernel Newbies]     [Security]     [Netfilter]     [Bugtraq]     [Linux FS]     [Yosemite National Park]     [MIPS Linux]     [ARM Linux]     [Linux Security]     [Linux RAID]     [Samba]     [Device Mapper]     [Linux Media]

  Powered by Linux