From nobody Mon Nov 24 08:34:37 2025 X-Original-To: dev-commits-src-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4dFJz11wwsz6JK6s for ; Mon, 24 Nov 2025 08:34:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R12" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4dFJz11LpLz46vJ for ; Mon, 24 Nov 2025 08:34:37 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763973277; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LC5nM35z63+GiD6zg2ALrwnZPVI6slSi6Pidc8byPKM=; b=mZ9vR2I+JhoguTv2bdxb6UoNJmMunOWvCnFLpxt4/KvUr2Ka/TlCmpAMl3ZClpH3NZlKEJ +fjcSCERNmWLFLwA9HCEP82XIB28IAYGnoZXO8EavqdOvfnWnZL2GXPzDneH42H+yEzkOd w0WoxmVBJO92UieHdGUdRE44sI1k8hg+HsMVXimNnAyZ0XeY/BK+RNTqcE2tmvSILoIiRx 80Wy/Z719vela0CREesqUF1klIzSZQgmF82uvyftH4dq90LWLuBNPcP9QtbdW26r5fk4iH L9enl5+7225VvMUGhHgWnsW0JUu5vzUgwCkI4R+Zhs+/4q3Va8HpcMQmyZoEKw== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1763973277; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=LC5nM35z63+GiD6zg2ALrwnZPVI6slSi6Pidc8byPKM=; b=fpfvZkfRUWplsrHJVoasobMOz0aXcpU3gxqRcn1nLkmTXs2BnLnMcr14UbMnxnYOsXHGUy 8mfe0N1X4bJI0q6g+7xkVnIhLdnJfq8bJLiSWJrcrNUofXfSD/nIcqmQhxTR1YFhZ+xLuo RFJsDEr3qBMzUmTPaG12+OZdWRpca+fn8rN84hVb1BeLADZchqrMvjUmgdNlxU8p15S3xJ cUX9SV5TpD5NvsYzmH2eeoUJdxiG/5/kroCzI79jTnah3AyMF/MHyp1Kc1N3N4HIWa3+NK Xl2nxpPg2IRe7DrqGy6nVCtRinuNcUqNY0jTPHRg1GnGY1T8fxBmmy0QcjmfbQ== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1763973277; a=rsa-sha256; cv=none; b=SQAfB3OQ0LL4/oJUTfwDPteJ8adICF948xEiUf2CkpSl7dvBVtERsQxKt0ABsI30MOITQM OuY8bb+ThrSLNUCrwtRx7UA+zoHrN73XIRmxQCBguAbOBXOZJqGsaK375V7RuI0Tl3AaXW I5+g/55KQB6Kr8XJdvIQM+U5n8pJUhJ0OYjUE6IF8R6sOe48N8NhY4cRA0q49qgNlERXLi We02iWBX5cF8OjW8Qmz7LMyUPXEj8uaBAeo/eFMWfpJVpgyXw3CjrSm/1U2n231MIOrunK 66m4F+Plp/5gA/7y7v5BdDk65NEY6r0Z6DQsJYOC1mD5CVy/AyS+x6qhy8lL6g== ARC-Authentication-Results: i=1; mx1.freebsd.org; none Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) by mxrelay.nyi.freebsd.org (Postfix) with ESMTP id 4dFJz10w1gz16BW for ; Mon, 24 Nov 2025 08:34:37 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from git (uid 1279) (envelope-from git@FreeBSD.org) id 3180d by gitrepo.freebsd.org (DragonFly Mail Agent v0.13+ on gitrepo.freebsd.org); Mon, 24 Nov 2025 08:34:37 +0000 To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-main@FreeBSD.org From: Wolfram Schneider Subject: git: a067eb525e10 - main - mount.8: document nosymfollow option List-Id: Commit messages for the main branch of the src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: X-BeenThere: dev-commits-src-main@freebsd.org Sender: owner-dev-commits-src-main@FreeBSD.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: wosch X-Git-Repository: src X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: a067eb525e10acc9d7e1f3b1a8a6dfeca42b4424 Auto-Submitted: auto-generated Date: Mon, 24 Nov 2025 08:34:37 +0000 Message-Id: <6924189d.3180d.12a74b9@gitrepo.freebsd.org> The branch main has been updated by wosch: URL: https://cgit.FreeBSD.org/src/commit/?id=a067eb525e10acc9d7e1f3b1a8a6dfeca42b4424 commit a067eb525e10acc9d7e1f3b1a8a6dfeca42b4424 Author: Wolfram Schneider AuthorDate: 2025-11-24 08:33:07 +0000 Commit: Wolfram Schneider CommitDate: 2025-11-24 08:33:07 +0000 mount.8: document nosymfollow option Document the nosymfollow mount option in more details. Forgotten in 5ddc8ded1dbe650b7d83240a1f86a1eb6e2b9b5a --- sbin/mount/mount.8 | 9 +++++++-- 1 file 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 ,