Comment 4 for bug 1567036

Revision history for this message
Luciano Lo Giudice (lmlogiudice) wrote :

As an alternative solution, upon setting the device path (i.e: /dev/sda), the charm could map it to its ID by looking into /dev/disk/by-id and seeing what it corresponds to. If there's a match, then the charm would use that path thereon instead. There's the issue, however, of what would happen if the device is _not_ found in /dev/disk/by-id (This can happen with some exotic device types, or when uuids aren't refreshed properly).