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>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20100517094753.GK2209@nb.net.home>
Date:	Mon, 17 May 2010 11:47:53 +0200
From:	Karel Zak <kzak@...hat.com>
To:	Ivan Shmakov <oneingray@...il.com>
Cc:	linux-ext4@...r.kernel.org
Subject: Re: [PATCH] libblkid: support for GUID Partition Table (GPT),
	please?

On Sat, May 15, 2010 at 10:06:23AM +0700, Ivan Shmakov wrote:
> >>>>> "IS" == Ivan Shmakov <ivan@...n.uusia.org> writes:
> 
>  IS> GPT contains a supposed to be unique “Disk GUID” field, which
>  IS> allows for the media bearing such a partition table to be
>  IS> identified.

 The devel version of libblkid from util-linux-ng supports partition tables
 parsing, and the partition name (GPT nad Mac) and partition UUID (only GPT)
 are exported to udev. For example:

   # blkid -p -o udev /dev/sdb1
   ID_PART_ENTRY_SCHEME=gpt
   ID_PART_ENTRY_NAME=ThisIsName
   ID_PART_ENTRY_UUID=bc10cf1d-7e63-524c-8203-087ae10a820b
   ID_PART_ENTRY_TYPE=a2a0d0eb-e5b9-3344-87c0-68b6b72699c7
   ID_PART_ENTRY_NUMBER=1

 In my TODO list is to support partition identifiers for standard
 operations like mount/fsck, something like:

   # mount PARTUUID=bc10cf1d-7e63-524c-8203-087ae10a820b /mnt
 or
   # mount PARTLABEL=ThisIsName /mnt
 
 Comments?

    Karel

-- 
 Karel Zak  <kzak@...hat.com>
 http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@...r.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html

Powered by blists - more mailing lists

Powered by Openwall GNU/*/Linux Powered by OpenVZ