Bug 70402

Summary: [patch] MNT_SNAPSHOT not documented in mount(2) man page
Product: Documentation Reporter: james
Component: Books & ArticlesAssignee: freebsd-doc (Nobody) <doc>
Status: Closed FIXED    
Severity: Affects Only Me    
Priority: Normal    
Version: Latest   
Hardware: Any   
OS: Any   
Attachments:
Description Flags
freebsd-mount.2-patch none

Description james 2004-08-13 11:50:11 UTC
	The MNT_SNAPSHOT mount option isn't documented in the man page
	for mount(2).

Fix: Patch below to src/lib/libc/sys/mount.2
How-To-Repeat: 	N/A
Comment 1 Peter Pentchev 2004-08-13 14:47:38 UTC
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.
Comment 2 james 2004-08-13 14:53:39 UTC
On Fri, Aug 13, 2004 at 04:47:38PM +0300, Peter Pentchev wrote:
> 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?

I think it's better than mine and should be used instead :)


ATB,
james
-- 
Time flies like an arrow. Fruit flies like bananas.
Comment 3 Peter Pentchev freebsd_committer freebsd_triage 2004-08-13 15:33:24 UTC
State Changed
From-To: open->closed

Committed, thanks!