RE: search by PARTUUID

2018-04-12 Thread Urs Ritzmann
Hi > From: Pascal Hambourg [mailto:pas...@plouf.fr.eu.org] > > Le 11/04/2018 à 10:00, Urs Ritzmann a écrit : > > > > Currently, the filesystem UUID is used in the search. It works, but the fs > > UUID has to be updated after an image update which is a bit > ugly. A constant PARTUUID pointing to

Re: search by PARTUUID

2018-04-12 Thread Pascal Hambourg
Le 12/04/2018 à 09:17, Urs Ritzmann a écrit : From: Pascal Hambourg [mailto:pas...@plouf.fr.eu.org] Le 11/04/2018 à 10:00, Urs Ritzmann a écrit : Currently, the filesystem UUID is used in the search. It works, but the fs UUID has to be updated after an image update which is a bit ugly. A c

Re: search by PARTUUID

2018-04-12 Thread mat628
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 gi