docs/112691: [patch] mdconfig(8) man page lacks CD image example

Warren Block wblock at wonkity.com
Tue May 15 21:20:05 UTC 2007


>Number:         112691
>Category:       docs
>Synopsis:       [patch] mdconfig(8) man page lacks CD image example
>Confidential:   no
>Severity:       non-critical
>Priority:       low
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          doc-bug
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 15 21:20:04 GMT 2007
>Closed-Date:
>Last-Modified:
>Originator:     Warren Block
>Release:        FreeBSD 6.2-STABLE i386
>Organization:
>Environment:
System: FreeBSD speedy.wonkity.com 6.2-STABLE FreeBSD 6.2-STABLE #0: Mon Apr 9 16:45:44 MDT 2007 root at speedy.wonkity.com:/usr/obj/usr/src/sys/SPEEDY i386


	
>Description:
mdconfig(8) lacks an example of mounting an ISO 9660 CD image file.
>How-To-Repeat:
>Fix:
Apply this patch:

--- mdconfig.8.old	Tue May 15 14:56:46 2007
+++ mdconfig.8	Tue May 15 15:11:05 2007
@@ -215,6 +215,12 @@
 newfs md0c
 mount /dev/md0c /mnt
 .Ed
+.Pp
+To mount an ISO 9660 CD image file:
+.Bd -literal -offset indent
+mdconfig -a -t vnode -u 0 -f cdimage.iso
+mount_cd9660 /dev/md0 /mnt
+.Ed
 .Sh SEE ALSO
 .Xr md 4 ,
 .Xr bsdlabel 8 ,

>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list