Re: blkid: excessive random reads probing for ZFS on NTFS filesystem

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

 



On 06/20/2011 10:04 AM, Karel Zak wrote:
> On Mon, Jun 20, 2011 at 09:05:36AM -0400, John Lindgren wrote:
>> I did try that; however, blkid checks *all* filesystems, even after it
>> finds a match, just in case two probes turn up positive.  Even passing
>> "-n nozfs" doesn't actually prevent it from checking for ZFS.
>  The name of the FS in libblkid is zfs_member :-)
>
>     blkid -p -o udev -n nozfs_member
>
>  Yeah, crazy name, see our TODO file:
>
>    - add something like "blkid --list-known" to list all supported
>      filesystems/raids
>      
>  Karel

My bad.  "-n nozfs_member" does work, so I will add it to my udev rules
locally.

Perhaps a "-q/--quick" option could be added to blkid to allow an early
exit once the first positive match is found?  Then more difficult checks
such as ZFS could be moved to the end of the list, as you suggest, with
a performance benefit.

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


[Index of Archives]     [Netdev]     [Ethernet Bridging]     [Linux Wireless]     [Kernel Newbies]     [Security]     [Linux for Hams]     [Netfilter]     [Bugtraq]     [Yosemite News]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux Admin]     [Samba]

  Powered by Linux