Re: [PATCH 1/2] libblkid: add PARTTYPE tag

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

 



On Tue, Jan 14, 2014 at 01:19:49PM -0800, Michael Marineau wrote:
> Add PARTTYPE to make searching for devices partition possible without
> dropping to the low-level probe API and searching all devices by
> PART_ENTRY_TYPE. For example to find any 'EFI System Partition' devices:
> 
> $ blkid -t PARTTYPE=c12a7328-f81f-11d2-ba4b-00a0c93ec93b
> ---
>  libblkid/src/verify.c | 2 ++
>  1 file changed, 2 insertions(+)

 I think it's unnecessary (and maybe bad idea) to add a new tags to
 the high level part of the library. The high level tags have been
 introduced to support mount/fsck devices by LABEL= or UUID= tags
 (only this is reason why we have the new PARTUUID= tag there). I'd
 like to keep this layer as minimal as possible (due the problem with
 caching in blkid.tab file).
 
 If you need information about devices then use lsblk(8) rather than
 blkid(8).

    Karel

-- 
 Karel Zak  <kzak@xxxxxxxxxx>
 http://karelzak.blogspot.com
--
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