On Sat, Jun 25, 2016 at 4:24 PM, Helmut Jarausch <[email protected]> wrote:
> On 06/25/2016 10:19:12 PM, Tom H wrote:
>>
>> You can use "root=PARTUUID=partuuid" where
>>
>> on an msdos-labeled disk:
>>
>> # findmnt / -o TARGET,SOURCE,PARTUUID
>> TARGET SOURCE PARTUUID
>> / /dev/sda1 0006c8d7-01
>>
>> on a gpt-labeled disk:
>>
>> # findmnt / -o TARGET,SOURCE,PARTUUID
>> TARGET SOURCE PARTUUID
>> / /dev/sda3 41e9268f-484a-43e2-ae81-54d8c84119e0
>
> Yes, thanks, that did it,
You're welcome.
The
ENV{ID_PART_ENTRY_UUID}=="?*",
SYMLINK+="disk/by-partuuid/$env{ID_PART_ENTRY_UUID}"
udev rule creates symlinks under "/dev/disk/by-partuuid/".
There's no need for findmnt :)