summaryrefslogtreecommitdiff
path: root/sbin
diff options
context:
space:
mode:
authorWolfram Schneider <wosch@FreeBSD.org>2025-11-24 08:33:07 +0000
committerWolfram Schneider <wosch@FreeBSD.org>2025-11-24 08:33:07 +0000
commita067eb525e10acc9d7e1f3b1a8a6dfeca42b4424 (patch)
treeb51ae340c9569282d36a3c153325a46fb977a245 /sbin
parent5995c036df4871b10e3afb0810cdf73da670a745 (diff)
mount.8: document nosymfollow option
Document the nosymfollow mount option in more details. Forgotten in 5ddc8ded1dbe650b7d83240a1f86a1eb6e2b9b5a
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mount/mount.89
1 files changed, 7 insertions, 2 deletions
diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8
index 154ad293aee4..877001727a8f 100644
--- a/sbin/mount/mount.8
+++ b/sbin/mount/mount.8
@@ -270,8 +270,11 @@ Note: this option is worthless if a public available suid or sgid
wrapper is installed on your system.
It is set automatically when the user does not have super-user privileges.
.It Cm nosymfollow
-Do not follow symlinks
-on the mounted file system.
+Do not follow symlinks on the mounted file system.
+.Pp
+This option is intended to be used when mounting file systems
+from untrusted external storage systems or public writable /tmp file systems.
+You can still create or remove symlinks, or read the value of a symbolic link.
.It Cm ro
Mount the filesystem read-only, even the super-user may not write it.
Equivalent to
@@ -571,6 +574,7 @@ support for a particular file system might be provided either on a static
.Xr lsvfs 1 ,
.Xr setfacl 1 ,
.Xr nmount 2 ,
+.Xr symlink 2 ,
.Xr acl 3 ,
.Xr getmntinfo 3 ,
.Xr libxo 3 ,
@@ -584,6 +588,7 @@ support for a particular file system might be provided either on a static
.Xr tarfs 4 ,
.Xr tmpfs 4 ,
.Xr fstab 5 ,
+.Xr symlink 7 ,
.Xr automount 8 ,
.Xr fstyp 8 ,
.Xr kldload 8 ,