Guest User

mapped devices and filesystem

a guest
Mar 12th, 2018
81
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
text 0.98 KB | None | 0 0
  1. (mapped-devices
  2. (list (mapped-device
  3. (source (uuid "6da2634c-710a-4061-b878-38e0c0c1f615"))
  4. (target "my-home")
  5. (type luks-device-mapping))))
  6. ;; Specify a mapped device for the encrypted root partition.
  7. ;; The UUID is that returned by 'cryptsetup luksUUID'.
  8. (file-systems (cons* (file-system
  9. (device "root")
  10. (title 'label)
  11. (mount-point "/")
  12. (type "ext4"))
  13. (file-system
  14. (device (uuid "3FDD-83DF" 'fat))
  15. (title 'uuid)
  16. (mount-point "/boot/efi")
  17. (type "vfat"))
  18. (file-system
  19. (device "/dev/mapper/my-home")
  20. (title 'device)
  21. (mount-point "/home")
  22. (type "ext4"))
  23. ;;(needed-for-boot? #f)
  24. ;;(mount? #f)
  25. ;;(dependencies mapped-devices))
  26. %base-file-systems))
Add Comment
Please, Sign In to add comment