svn commit: r209537 - in stable/7: sbin/mount share/man/man5

Jilles Tjoelker jilles at FreeBSD.org
Sat Jun 26 14:42:07 UTC 2010


Author: jilles
Date: Sat Jun 26 14:42:07 2010
New Revision: 209537
URL: http://svn.freebsd.org/changeset/base/209537

Log:
  MFC r208647,r208654: Clarify devfs manpages slightly.
  
  mount(8): add xref to devfs(5)
  devfs(5): change example to something more likely to be useful (it is not
  necessary to mount a devfs on /dev manually, but for chroots/jails it is
  often needed), mention since when devfs is preferred to device nodes on ufs
  and when device nodes on ufs stopped working
  
  PR:		146600

Modified:
  stable/7/sbin/mount/mount.8
  stable/7/share/man/man5/devfs.5
Directory Properties:
  stable/7/sbin/mount/   (props changed)
  stable/7/sbin/mount/mount_fs.c   (props changed)
  stable/7/share/man/man5/   (props changed)

Modified: stable/7/sbin/mount/mount.8
==============================================================================
--- stable/7/sbin/mount/mount.8	Sat Jun 26 13:20:40 2010	(r209536)
+++ stable/7/sbin/mount/mount.8	Sat Jun 26 14:42:07 2010	(r209537)
@@ -507,6 +507,7 @@ support for a particular file system mig
 .Xr nmount 2 ,
 .Xr acl 3 ,
 .Xr mac 4 ,
+.Xr devfs 5 ,
 .Xr ext2fs 5 ,
 .Xr fstab 5 ,
 .Xr procfs 5 ,

Modified: stable/7/share/man/man5/devfs.5
==============================================================================
--- stable/7/share/man/man5/devfs.5	Sat Jun 26 13:20:40 2010	(r209536)
+++ stable/7/share/man/man5/devfs.5	Sat Jun 26 14:42:07 2010	(r209537)
@@ -38,7 +38,7 @@
 .\"
 .\" $FreeBSD$
 .\"
-.Dd December 14, 1996
+.Dd May 30, 2010
 .Dt DEVFS 5
 .Os
 .Sh NAME
@@ -80,9 +80,9 @@ mount point.
 To mount a
 .Nm
 volume located on
-.Pa /dev :
+.Pa /mychroot/dev :
 .Pp
-.Dl "mount -t devfs devfs /dev"
+.Dl "mount -t devfs devfs /mychroot/dev"
 .Sh SEE ALSO
 .Xr devfs 8 ,
 .Xr mount 8
@@ -91,6 +91,10 @@ The
 .Nm
 file system first appeared in
 .Fx 2.0 .
+It became the preferred method for accessing devices in
+.Fx 5.0
+and the only method in
+.Fx 6.0 .
 The
 .Nm
 manual page first appeared in


More information about the svn-src-all mailing list