lists.openwall.net   lists  /  announce  owl-users  owl-dev  john-users  john-dev  passwdqc-users  yescrypt  popa3d-users  /  oss-security  kernel-hardening  musl  sabotage  tlsify  passwords  /  crypt-dev  xvendor  /  Bugtraq  Full-Disclosure  linux-kernel  linux-netdev  linux-ext4  linux-hardening  linux-cve-announce  PHC 
Open Source and information security mailing list archives
 
Hash Suite: Windows password security audit tool. GUI, reports in PDF.
[<prev] [next>] [day] [month] [year] [list]
Date:	Thu, 5 Aug 2010 17:07:35 -0600
From:	Andreas Dilger <adilger@...ger.ca>
To:	"Ted Ts'o" <tytso@....edu>
Cc:	ext4 development <linux-ext4@...r.kernel.org>
Subject: [PATCH] e2fsprogs: fix ZFS filesystem detection

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



Download attachment "e2fsprogs-blkid-zfs.patch" of type "application/octet-stream" (2894 bytes)

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ