l...@gnu.org (Ludovic Courtès) skribis: > Furthermore, to allow users to specify a LUKS UUID as the ‘source’ of > their ‘mapped-device’ form, as in: > > (mapped-device > (source (uuid "cb67fc72-0d54-4c88-9d4b-b225f30b0f44")) ;LUKS UUID > (target "root") > (type luks-device-mapping)) > > we’d have to extend <mapped-device-kind> with a method to resolve UUIDs > (in this case, to map a UUID to a /dev node.)
Commit ffba7d498d36618ad21af3961a1a685ae91bae57 makes it possible, building on ‘find-partition-by-luks-uuid’ added in a1ccefaa122df7c0045eda1fe6b65d83b65ed238. (Tested on my system where /home is LUKS-encrypted.) Ludo’.