From 29e804dffd52496aaad2d0fc6a50d18a9940010d Mon Sep 17 00:00:00 2001 From: Daan De Meyer Date: Wed, 3 Aug 2022 15:52:29 +0200 Subject: [PATCH] man: Clarify that tools should prefer mount units over editing fstab --- man/systemd.mount.xml | 16 +++++++--------- 1 file changed, 7 insertions(+), 9 deletions(-) diff --git a/man/systemd.mount.xml b/man/systemd.mount.xml index 8f4ebfc788..e4e35f2dd8 100644 --- a/man/systemd.mount.xml +++ b/man/systemd.mount.xml @@ -156,16 +156,14 @@ <filename>fstab</filename> - Mount units may either be configured via unit files, or via - /etc/fstab (see + Mount units may either be configured via unit files, or via /etc/fstab (see fstab5 - for details). Mounts listed in /etc/fstab - will be converted into native units dynamically at boot and when - the configuration of the system manager is reloaded. In general, - configuring mount points through /etc/fstab - is the preferred approach. See - systemd-fstab-generator8 - for details about the conversion. + for details). Mounts listed in /etc/fstab will be converted into native units + dynamically at boot and when the configuration of the system manager is reloaded. In general, configuring + mount points through /etc/fstab is the preferred approach to manage mounts for + humans. For tooling, writing mount units should be preferred over editing /etc/fstab. + See systemd-fstab-generator8 + for details about the conversion from /etc/fstab to mount units. The NFS mount option for NFS background mounts as documented in nfs5