From: Karel Zak <kzak@redhat.com>
To: Ivan Shmakov <oneingray@gmail.com>
Cc: linux-ext4@vger.kernel.org
Subject: Re: [PATCH] libblkid: support for GUID Partition Table (GPT), please?
Date: Mon, 17 May 2010 11:47:53 +0200 [thread overview]
Message-ID: <20100517094753.GK2209@nb.net.home> (raw)
In-Reply-To: <87vdapkgnk.fsf@violet.siamics.net>
On Sat, May 15, 2010 at 10:06:23AM +0700, Ivan Shmakov wrote:
> >>>>> "IS" == Ivan Shmakov <ivan@main.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@redhat.com>
http://karelzak.blogspot.com
--
To unsubscribe from this list: send the line "unsubscribe linux-ext4" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
next prev parent reply other threads:[~2010-05-17 9:47 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2010-05-14 19:53 [PATCH] libblkid: support for GUID Partition Table (GPT), please? Ivan Shmakov
2010-05-15 3:06 ` Ivan Shmakov
2010-05-17 9:47 ` Karel Zak [this message]
2010-05-17 13:45 ` Ivan Shmakov
2010-05-17 17:54 ` tytso
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20100517094753.GK2209@nb.net.home \
--to=kzak@redhat.com \
--cc=linux-ext4@vger.kernel.org \
--cc=oneingray@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.