From nobody Wed Apr 13 21:04:02 2022 X-Original-To: dev-commits-src-branches@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 B82E91B4C6A4; Wed, 13 Apr 2022 21:04:02 +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 "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4Kdw7Q3ST4z3wRM; Wed, 13 Apr 2022 21:04:02 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649883842; 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=q4QPfAmlBUK8VI80IfYIQ0JpqoQqZzU2+3E5c1ilI0k=; b=GjoKa/hvWLbGvUmIQOJgAJ8g5G3XH/gW7fkVVgJkeRuZxKXO1JtQ/gTT077dmaEb16bbch 9/Uc3byifc4LIJ+IYdrdHSsZagZa/Nj8fepMblPGCVk4b+UbW9tHvr/jfTvTcXeHq7ygNp xiHjNYrepNfA8QWQ5SsG+FYo0Rp6QeRWIetlVz1iQPYa6QynYJXA/jWjdmgtD8Yj2/qp3H yf9pdHT91/HxLotxxzChCzgy66CsDxBFz6AuYj2DoY+4euIIkL2CyTbC+vC3+TyWNCCqLS P7JQPbfSCK9RIs44TEnnLVBq1hXrxZxyTC78sUL+5/FtDnRIq8yqqD9iX9FMmw== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (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 did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4E25413531; Wed, 13 Apr 2022 21:04:02 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.16.1/8.16.1) with ESMTP id 23DL42QL012373; Wed, 13 Apr 2022 21:04:02 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.16.1/8.16.1/Submit) id 23DL42iv012372; Wed, 13 Apr 2022 21:04:02 GMT (envelope-from git) Date: Wed, 13 Apr 2022 21:04:02 GMT Message-Id: <202204132104.23DL42iv012372@gitrepo.freebsd.org> To: src-committers@FreeBSD.org, dev-commits-src-all@FreeBSD.org, dev-commits-src-branches@FreeBSD.org From: Robert Wing Subject: git: 7472cae2e098 - stable/13 - mount.8: mention that the snapshot option is exclusive List-Id: Commits to the stable branches of the FreeBSD src repository List-Archive: https://lists.freebsd.org/archives/dev-commits-src-branches List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-src-branches@freebsd.org X-BeenThere: dev-commits-src-branches@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: rew X-Git-Repository: src X-Git-Refname: refs/heads/stable/13 X-Git-Reftype: branch X-Git-Commit: 7472cae2e098026a7a38adb9677a701ea0a5aca4 Auto-Submitted: auto-generated ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1649883842; 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=q4QPfAmlBUK8VI80IfYIQ0JpqoQqZzU2+3E5c1ilI0k=; b=nYEy7FD9FspxGhfLhbzmWu8s2piL7mJst4NAzCcf+7c5zI4FF/prT9iCkO1wUoqlSCK7FV f0UQTSLPcphP5p2g2VOQzF6x6rFAch8liGIbbPamMz5aCKeYbx8+fLUyqDmW7tgDdwESV0 +XJ18jxDCbp14RL2pth66ozbfo1OLfrJTzDb+9N3PkAdmhMh/ofaUDnVx9I8OEFXkl/QNV R3W/RXk6umJgJyuMBW4S9NI/Vi7gpD1W5vMVyY9VgHDy5pjIgE5mapXiL3+YAFYl0rWQz6 YRcWVBhFughuDmFYmiuKQsDutaXuQKB6XqAgXUorJUVLLJ+ptxfRVpGFd4Sg2w== ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1649883842; a=rsa-sha256; cv=none; b=tMauUkkezBfuaMANnhSThi7+SHoE3lPOsrmlnk8D+Re9Fp5ch/x8vYqxEuuBpklQGRESZm EMVbCvFMeQA+c1e4yJloTc8MzEwMOTgUVtw49z9kSkgPVzle2r9i+DUvUGgW4Q07frmoiR 7FnsX8aLazVsLD30n9sB8HFHz0DO1eNQr6kj7l3sRKXUc2QWWlwdoxow2vnA6sxDmbcUxT jbeuhxe6j368vS+rC6UWZtKL/4VeJtpG+fH2pAn/N+RxVREoMcO5DSqQTFkn3+M/tLark3 qhqPyUYaYxKG216DTyztQ3YY//x4KWGojVn2s/O+MfqT7ssM+8Apy8i7k1b/UA== ARC-Authentication-Results: i=1; mx1.freebsd.org; none X-ThisMailContainsUnwantedMimeParts: N The branch stable/13 has been updated by rew: URL: https://cgit.FreeBSD.org/src/commit/?id=7472cae2e098026a7a38adb9677a701ea0a5aca4 commit 7472cae2e098026a7a38adb9677a701ea0a5aca4 Author: Robert Wing AuthorDate: 2022-03-17 22:31:16 +0000 Commit: Robert Wing CommitDate: 2022-04-13 21:00:22 +0000 mount.8: mention that the snapshot option is exclusive When using the snapshot option, all other options are ignored. This update reflects changes made in ab2dbd9b871d. Reviewed by: 0mp, mckusick Differential Revision: https://reviews.freebsd.org/D34584 (cherry picked from commit 8772a9117b27f551f6fbaae9413acaa30d99f934) --- sbin/mount/mount.8 | 8 +++++--- 1 file changed, 5 insertions(+), 3 deletions(-) diff --git a/sbin/mount/mount.8 b/sbin/mount/mount.8 index 59a0f6bb0329..2a877c04c079 100644 --- a/sbin/mount/mount.8 +++ b/sbin/mount/mount.8 @@ -28,7 +28,7 @@ .\" @(#)mount.8 8.8 (Berkeley) 6/16/94 .\" $FreeBSD$ .\" -.Dd May 18, 2021 +.Dd March 17, 2022 .Dt MOUNT 8 .Os .Sh NAME @@ -276,11 +276,13 @@ The same as .Fl r ; mount the file system read-only (even the super-user may not write it). .It Cm snapshot -This option allows a snapshot of the specified file system to be taken. +Take a snapshot of the specified filesystem. +When this option is used, all other options are ignored. The .Fl u flag is required with this option. -Note that snapshot files must be created in the file system that is being +.Pp +Snapshot files must be created in the file system that is being snapshotted. You may create up to 20 snapshots per file system. Active snapshots are recorded in the superblock, so they persist across unmount