I have a couple of questions on using dependencies in confg.scm file-system definitions.

Given...

   (mapped-devices (list
                        (mapped-device
                          (source (uuid
     "10d6c832-f8c5-45df-b11f-6119a85de83f"))
                          (target "cryptroot")
                          (type luks-device-mapping))
                        (mapped-device
                          (source (uuid
     "c85979d2-a080-41dc-8ac1-373975ead97f"))
                          (target "ioSafeDuoD1Data")
                          (arguments '(#:key-file
   "/etc/luks.secrets/ioSafeDuo.key"))
                          (type luks-device-mapping))
                        (mapped-device
                          (source (uuid
     "a14cd713-7c70-4760-98dd-ab04b41237f6"))
                          (target "ioSafeDuoD2Data")
                          (arguments '(#:key-file
   "/etc/luks.secrets/ioSafeDuo.key"))
                          (type luks-device-mapping))))
   (file-systems (cons* (file-system
                             (mount-point "/boot/efi")
                             (device (uuid "F39E-B8E5"
                                           'fat32))
                             (type "vfat"))
                           (file-system
                             (mount-point "/")
                             (device "/dev/mapper/cryptroot")
                             (type "ext4")
                             ;;(dependencies mapped-devices)
                           )
                           (file-system
                             (mount-point "/mnt/ioSafeDuo")
                             (device (file-system-label "ioSafeDuoData"))
                             (type "btrfs")
                             (mount? #f)
                             (dependencies
                               mapped-devices
                            ))
                            %base-file-systems))

 * How do I specify that 'mount-point "/"' is required before mounting
   'mount-point "/mnt/ioSafeDuo"'?

 * How do I specify specific mapped-device entries as dependencies for
   different file-system entries (e.g. cryptroot for "/" and
   ioSafeDuo0{1|2}Data for "/mnt/ioSafeDuo")?

Cheers,
  W

Reply via email to