From b59b7414c35e5c4026c53453329a25e4260b958b Mon Sep 17 00:00:00 2001 From: Ethan Glasser-Camp Date: Thu, 14 May 2020 12:00:01 -0400 Subject: nixos/manual: document use of systemd to mount filesystems (#87684) * nixos/manual: document use of systemd to mount filesystems --- nixos/doc/manual/configuration/file-systems.xml | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/nixos/doc/manual/configuration/file-systems.xml b/nixos/doc/manual/configuration/file-systems.xml index e4c03de71b72..3ac02a975ebf 100644 --- a/nixos/doc/manual/configuration/file-systems.xml +++ b/nixos/doc/manual/configuration/file-systems.xml @@ -16,6 +16,17 @@ fsType = "ext4"; }; + This will create an entry in /etc/fstab, which will + generate a corresponding + systemd.mount + unit via + systemd-fstab-generator. + The filesystem will be mounted automatically unless + "noauto" is present in options. + "noauto" filesystems can be mounted explicitly using + systemctl e.g. systemctl start + data.mount. Mount points are created automatically if they don’t already exist. For , it’s best to use the topology-independent device aliases in -- cgit 1.4.1