docs/70402: [patch] MNT_SNAPSHOT not documented in mount(2) man page

Peter Pentchev roam at ringlet.net
Fri Aug 13 13:50:28 UTC 2004


The following reply was made to PR docs/70402; it has been noted by GNATS.

From: Peter Pentchev <roam at ringlet.net>
To: James Raftery <james at now.ie>
Cc: bug-followup at 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 at ringlet.net    roam at cnsys.bg    roam at 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.



More information about the freebsd-doc mailing list