summaryrefslogtreecommitdiffstats
path: root/sbin
diff options
context:
space:
mode:
authorkeramida <keramida@FreeBSD.org>2007-05-18 13:57:17 +0000
committerkeramida <keramida@FreeBSD.org>2007-05-18 13:57:17 +0000
commitf407fc8e9b09793363a03f4f22f0a4e513790523 (patch)
tree0eeee9e6b4cbe429cd3ce287a87fb7da1ce540d6 /sbin
parent162fa8dc6d0f4fe3538d66df083f7a92e01928b3 (diff)
downloadFreeBSD-src-f407fc8e9b09793363a03f4f22f0a4e513790523.zip
FreeBSD-src-f407fc8e9b09793363a03f4f22f0a4e513790523.tar.gz
Add an example which shows how mdconfig(8) can be used
to mount an ISO 9660 CD image file. PR: 112691 Submitted by: Warren Block, wblock at wonkity.com MFC after: 3 days
Diffstat (limited to 'sbin')
-rw-r--r--sbin/mdconfig/mdconfig.88
1 files changed, 7 insertions, 1 deletions
diff --git a/sbin/mdconfig/mdconfig.8 b/sbin/mdconfig/mdconfig.8
index 5437a38..498a5d1 100644
--- a/sbin/mdconfig/mdconfig.8
+++ b/sbin/mdconfig/mdconfig.8
@@ -41,7 +41,7 @@
.\"
.\" $FreeBSD$
.\"
-.Dd November 6, 2004
+.Dd May 18, 2007
.Dt MDCONFIG 8
.Os
.Sh NAME
@@ -215,6 +215,12 @@ bsdlabel -w md0 auto
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 10 -f cdimage.iso
+mount_cd9660 /dev/md10 /mnt
+.Ed
.Sh SEE ALSO
.Xr md 4 ,
.Xr bsdlabel 8 ,
OpenPOWER on IntegriCloud