Reference
file-systems feature
What it doesPermalink to What it does#
Mounted file systems. Each one but / gets a required mount service; state directories under a mount wait for it.
Use itPermalink to Use it#
Every system has this feature: Vessel adds it to every configuration, so it never goes in the feature list. This part of a system configuration gives it items:
Example: feature-file-systems-example
(import (vessel system))
;; The root file system, the EFI system partition and a separate /home.
(system-configuration
file-systems:
(list (file-system device: "/dev/vda2" mount-point: "/")
(file-system device: "/dev/vda1" mount-point: "/boot"
type: "vfat" options: "rw,umask=0077")
(file-system device: "/dev/vdb1" mount-point: "/home"))
features: %base-features)
Verified
A real system.sgl also sets the fields this example leaves out: the host name, kernel and boot loader. Every time the manual is built, it composes this configuration with Vessel's code and checks what the feature receives.
OptionsPermalink to Options#
None. This feature type takes no configuration.
What it addsPermalink to What it adds#
Its declared extensions target these feature types:
What it receivesPermalink to What it receives#
file-system: A file system, claimed by its mount point.
Used inPermalink to Used in#
No page refers to it yet.