Re: [PATCH 1/6] blkid: fix ZFS device detection

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

 



On Sat, Mar 05, 2016 at 05:38:31PM -0700, Andreas Dilger wrote:
> From: Andreas Dilger <andreas.dilger@xxxxxxxxx>
> 
> While the main blkid functionality is in util-linux, there is still
> use for blkid on non-Linux platforms.
> 
> 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 are slots for 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.
> 
> Signed-off-by: Andreas Dilger <andreas.dilger@xxxxxxxxx>

Thanks, applied.

					- Ted
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html



[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