diff options
author | Ludovic Courtès <ludo@gnu.org> | 2014-09-18 19:18:39 +0200 |
---|---|---|
committer | Ludovic Courtès <ludo@gnu.org> | 2014-09-18 19:18:39 +0200 |
commit | 722554a306be645026d75893b77863769dcd861d (patch) | |
tree | 4b2e16ebb8524103708c48681f10dc976080e250 /gnu/system/grub.scm | |
parent | cb823dd279b77566f2974b210fbd58a7c53a2b0a (diff) | |
download | guix-722554a306be645026d75893b77863769dcd861d.tar.gz |
system: Define 'device-mapping-kind', and add a 'close' procedure.
* gnu/system/file-systems.scm (<mapped-device-type>): New record type. (<mapped-device>)[command]: Remove field. [type]: New field. * gnu/services/base.scm (device-mapping-service): Rename 'command' parameter to 'open'. Add 'close' parameter and honor it. * gnu/system.scm (luks-device-mapping): Rename to... (open-luks-device): ... this. (close-luks-device): New procedure. (luks-device-mapping): New variable. (device-mapping-services): Get the type of MD, and pass its 'open' and 'close' fields to 'device-mapping-service'.
Diffstat (limited to 'gnu/system/grub.scm')
0 files changed, 0 insertions, 0 deletions