* support for Partition UUIDs in 60-persistent-storage.rules
@ 2011-06-07 13:46 KESHAV P.R.
2011-06-11 11:39 ` Kay Sievers
2011-06-11 12:28 ` KESHAV P.R.
0 siblings, 2 replies; 3+ messages in thread
From: KESHAV P.R. @ 2011-06-07 13:46 UTC (permalink / raw)
To: linux-hotplug
Hi,
I thought of using GPT Partition Unique GUIDs to reference
partitions instead of FS UUIDs since some filesystems do not support
proper UUIDs. Also haing a FS independent way of uniquely referencing
partitions has few advantages. This support requires just adding two
lines to http://git.kernel.org/?p=linux/hotplug/udev.git;a=blob_plain;f=rules/rules.d/60-persistent-storage.rules;hb=HEAD
. These are supported by util-linux's blkid as of version 2.19 .
# by-part-label/by-part-uuid links (partition metadata)
ENV{ID_PART_ENTRY_SCHEME}="gpt", ENV{ID_PART_ENTRY_UUID}="?*",
SYMLINK+="disk/by-part-uuid/$env{ID_PART_ENTRY_UUID}"
ENV{ID_PART_ENTRY_SCHEME}="gpt", ENV{ID_PART_ENTRY_NAME}="?*",
SYMLINK+="disk/by-part-label/$env{ID_PART_ENTRY_NAME}"
Please add these lines to the file. Thanks in advance.
Regards.
Keshav
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: support for Partition UUIDs in 60-persistent-storage.rules
2011-06-07 13:46 support for Partition UUIDs in 60-persistent-storage.rules KESHAV P.R.
@ 2011-06-11 11:39 ` Kay Sievers
2011-06-11 12:28 ` KESHAV P.R.
1 sibling, 0 replies; 3+ messages in thread
From: Kay Sievers @ 2011-06-11 11:39 UTC (permalink / raw)
To: linux-hotplug
On Tue, Jun 7, 2011 at 15:34, KESHAV P.R. <skodabenz@gmail.com> wrote:
> I thought of using GPT Partition Unique GUIDs to reference
> partitions instead of FS UUIDs since some filesystems do not support
> proper UUIDs. Also haing a FS independent way of uniquely referencing
> partitions has few advantages.
Committed as by-partuuid/by-partlabel to closer match the kernels
root=PARTUUID= key, and mount's upcoming PARTUUID= support.
Thanks,
Kay
^ permalink raw reply [flat|nested] 3+ messages in thread
* Re: support for Partition UUIDs in 60-persistent-storage.rules
2011-06-07 13:46 support for Partition UUIDs in 60-persistent-storage.rules KESHAV P.R.
2011-06-11 11:39 ` Kay Sievers
@ 2011-06-11 12:28 ` KESHAV P.R.
1 sibling, 0 replies; 3+ messages in thread
From: KESHAV P.R. @ 2011-06-11 12:28 UTC (permalink / raw)
To: linux-hotplug
On Sat, Jun 11, 2011 at 17:09, Kay Sievers <kay.sievers@vrfy.org> wrote:
> On Tue, Jun 7, 2011 at 15:34, KESHAV P.R. <skodabenz@gmail.com> wrote:
>> I thought of using GPT Partition Unique GUIDs to reference
>> partitions instead of FS UUIDs since some filesystems do not support
>> proper UUIDs. Also haing a FS independent way of uniquely referencing
>> partitions has few advantages.
>
> Committed as by-partuuid/by-partlabel to closer match the kernels
> root=PARTUUID= key, and mount's upcoming PARTUUID= support.
>
> Thanks,
> Kay
>
Thank you. I also asked util-linux guys about PARTUUID support in
fstab and mostly it will be available in util-linux ver 2.21 .
Regards.
Keshav
^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2011-06-11 12:28 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2011-06-07 13:46 support for Partition UUIDs in 60-persistent-storage.rules KESHAV P.R.
2011-06-11 11:39 ` Kay Sievers
2011-06-11 12:28 ` KESHAV P.R.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox