bin/146600: Patch to add an example to man mount for devfs
Julian H. Stacey
jhs at berklix.com
Fri May 14 20:00:18 UTC 2010
>Number: 146600
>Category: bin
>Synopsis: Patch to add an example to man mount for devfs
>Confidential: no
>Severity: non-critical
>Priority: low
>Responsible: freebsd-bugs
>State: open
>Quarter:
>Keywords:
>Date-Required:
>Class: change-request
>Submitter-Id: current-users
>Arrival-Date: Fri May 14 20:00:17 UTC 2010
>Closed-Date:
>Last-Modified:
>Originator: Julian H. Stacey
>Release: FreeBSD 8.0-RELEASE i386
>Organization:
http://berklix.com BSD Linux Unix Consultancy, Munich/Muenchen.
>Environment:
System: FreeBSD fire.js.berklix.net 8.0-RELEASE FreeBSD 8.0-RELEASE #0: Wed Apr 21 10:27:18 CEST 2010 jhs at fire.js.berklix.net:/usr1/src/sys/amd64/compile/FIRE64.small2 amd64
>Description:
Patch to add an example to man mount for devfs
>How-To-Repeat:
See patch below & thread on hackers
Subject: /dev/null & zero inside chroot for make release
>Fix:
Please commit patch appended
(OK, nroff macros work, but feel free to improve.)
-----
http://berklix.com/~jhs/src/bsd/fixes/FreeBSD/src/gen/sbin/mount/
*** 8.0-RELEASE/src/sbin/mount/mount.8 Sun Oct 25 02:10:29 2009
--- new-generic/src/sbin/mount/mount.8 Fri May 14 21:31:56 2010
***************
*** 444,449 ****
--- 444,460 ----
.Pp
Most file systems will be dynamically loaded by the kernel
if not already present, and if the kernel module is available.
+ .Pp
+ Example to create a /dev in a
+ .Cm
+ chroot
+ :
+ .ce
+ mount -t devfs dev /usrb/chroot/dev
+ useful for an encapsulated environment in which to try:
+ .ce
+ cd /usr/src/release ; make release
+ .\" ---
.It Fl u
The
.Fl u
***************
*** 516,521 ****
--- 527,534 ----
.Xr ext2fs 5 ,
.Xr fstab 5 ,
.Xr procfs 5 ,
+ .Xr chroot 8 ,
+ .Xr devfs 8 ,
.Xr kldload 8 ,
.Xr mount_cd9660 8 ,
.Xr mount_msdosfs 8 ,
>Release-Note:
>Audit-Trail:
>Unformatted:
More information about the freebsd-bugs
mailing list