[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
RE: search by PARTUUID
From: |
Urs Ritzmann |
Subject: |
RE: search by PARTUUID |
Date: |
Mon, 16 Apr 2018 07:41:38 +0000 |
Hi Matt
> I wrote a patch a while ago for this. I ended up creating an add-on command,
> that uses the partition UUID/GUID, to search (--pt-uuid) and
> an accompanying module search.pt_uuid. These two commands mirror the search
> --fs-uuid and search.fs_uuid where given a uuid it will
> return the device. When given a disk/partition UUID/GUID that corresponds to
> a disk that is either a biosdisk or efidisk, or a partition with
> a partmap name of either "msdos" or "gpt" on one of the previous disks it
> will return that device. I checked it against the master and it
> applied cleanly. I can post it in a day.
That's exactly what I'm looking for. I appreciate if you can post the patches.
Did you try to upstream them?
Many Thanks
Urs
> -----Original Message-----
> From: address@hidden [mailto:address@hidden
> Sent: Freitag, 13. April 2018 07:33
> To: address@hidden; Ritzmann Urs
> Subject: Re: search by PARTUUID
>
> I wrote a patch a while ago for this. I ended up creating an add-on command,
> that uses the partition UUID/GUID, to search (--pt-uuid) and
> an accompanying module search.pt_uuid. These two commands mirror the search
> --fs-uuid and search.fs_uuid where given a uuid it will
> return the device. When given a disk/partition UUID/GUID that corresponds to
> a disk that is either a biosdisk or efidisk, or a partition with
> a partmap name of either "msdos" or "gpt" on one of the previous disks it
> will return that device. I checked it against the master and it
> applied cleanly. I can post it in a day.
>
> Best regards,
>
> Matt
>