On Sat, May 15, 2010 at 10:06:23AM +0700, Ivan Shmakov wrote: > >>>>> "IS" == Ivan Shmakov <ivan@xxxxxxxxxxxxxx> 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@xxxxxxxxxx> http://karelzak.blogspot.com -- 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