From owner-freebsd-doc@FreeBSD.ORG Fri Aug 13 13:50:28 2004 Return-Path: Delivered-To: freebsd-doc@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5561E16A4CE for ; Fri, 13 Aug 2004 13:50:28 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id 47F4243D3F for ; Fri, 13 Aug 2004 13:50:28 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i7DDoSdf097797 for ; Fri, 13 Aug 2004 13:50:28 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i7DDoOnk097765; Fri, 13 Aug 2004 13:50:24 GMT (envelope-from gnats) Date: Fri, 13 Aug 2004 13:50:24 GMT Message-Id: <200408131350.i7DDoOnk097765@freefall.freebsd.org> To: freebsd-doc@FreeBSD.org From: Peter Pentchev Subject: Re: docs/70402: [patch] MNT_SNAPSHOT not documented in mount(2) man page X-BeenThere: freebsd-doc@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Peter Pentchev List-Id: Documentation project List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 13 Aug 2004 13:50:28 -0000 The following reply was made to PR docs/70402; it has been noted by GNATS. From: Peter Pentchev To: James Raftery Cc: bug-followup@FreeBSD.org Subject: Re: docs/70402: [patch] MNT_SNAPSHOT not documented in mount(2) man page Date: Fri, 13 Aug 2004 16:47:38 +0300 On Fri, Aug 13, 2004 at 10:45:31AM -0000, James Raftery wrote: > > >Number: 70402 > >Category: docs > >Synopsis: [patch] MNT_SNAPSHOT not documented in mount(2) man page > >Description: > The MNT_SNAPSHOT mount option isn't documented in the man page > for mount(2). What do you think about the following patch instead? G'luck, Peter Index: src/lib/libc/sys/mount.2 =================================================================== RCS file: /home/ncvs/src/lib/libc/sys/mount.2,v retrieving revision 1.39 diff -u -r1.39 mount.2 --- src/lib/libc/sys/mount.2 30 Jun 2004 20:09:10 -0000 1.39 +++ src/lib/libc/sys/mount.2 13 Aug 2004 13:46:00 -0000 @@ -133,6 +133,11 @@ .It Dv MNT_NODEV Do not interpret special files on the file system. This flag is set automatically when the caller is not the super-user. +.It Dv MNT_SNAPSHOT +Create a snapshot of the file system. +This is currently only supported on UFS2 file systems, see +.Xr mksnap_ffs 8 +for more information. .It Dv MNT_SUIDDIR Directories with the SUID bit set chown new files to their own owner. This flag requires the SUIDDIR option to have been compiled into the kernel @@ -358,6 +363,7 @@ mounted. .Sh SEE ALSO .Xr lsvfs 1 , +.Xr mksnap_ffs 8 , .Xr mount 8 , .Xr umount 8 .Sh BUGS -- Peter Pentchev roam@ringlet.net roam@cnsys.bg roam@FreeBSD.org PGP key: http://people.FreeBSD.org/~roam/roam.key.asc Key fingerprint FDBA FD79 C26F 3C51 C95E DF9E ED18 B68D 1619 4553 If there were no counterfactuals, this sentence would not have been paradoxical.