diff options
Diffstat (limited to 'nixos/doc/manual/configuration/file-systems.xml')
-rw-r--r-- | nixos/doc/manual/configuration/file-systems.xml | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/nixos/doc/manual/configuration/file-systems.xml b/nixos/doc/manual/configuration/file-systems.xml index ae3d124cd6bb..0ff37c38d8b0 100644 --- a/nixos/doc/manual/configuration/file-systems.xml +++ b/nixos/doc/manual/configuration/file-systems.xml @@ -13,21 +13,21 @@ device <filename>/dev/disk/by-label/data</filename> onto the mount point <filename>/data</filename>: <programlisting> -fileSystems."/data" = +<xref linkend="opt-fileSystems"/>."/data" = { device = "/dev/disk/by-label/data"; fsType = "ext4"; }; </programlisting> Mount points are created automatically if they don’t already exist. -For <option>device</option>, it’s best to use the topology-independent +For <option><link linkend="opt-fileSystems._name__.device">device</link></option>, it’s best to use the topology-independent device aliases in <filename>/dev/disk/by-label</filename> and <filename>/dev/disk/by-uuid</filename>, as these don’t change if the topology changes (e.g. if a disk is moved to another IDE controller).</para> <para>You can usually omit the file system type -(<option>fsType</option>), since <command>mount</command> can usually +(<option><link linkend="opt-fileSystems._name__.fsType">fsType</link></option>), since <command>mount</command> can usually detect the type and load the necessary kernel module automatically. However, if the file system is needed at early boot (in the initial ramdisk) and is not <literal>ext2</literal>, <literal>ext3</literal> @@ -38,7 +38,7 @@ available.</para> <note><para>System startup will fail if any of the filesystems fails to mount, dropping you to the emergency shell. You can make a mount asynchronous and non-critical by adding -<literal>options = [ "nofail" ];</literal>. +<literal><link linkend="opt-fileSystems._name__.options">options</link> = [ "nofail" ];</literal>. </para></note> <xi:include href="luks-file-systems.xml" /> |