aboutsummaryrefslogtreecommitdiff
path: root/sbin/mdconfig/mdconfig.8
diff options
context:
space:
mode:
authorGiorgos Keramidas <keramida@FreeBSD.org>2007-05-18 13:57:17 +0000
committerGiorgos Keramidas <keramida@FreeBSD.org>2007-05-18 13:57:17 +0000
commit5810c7ef77f9d72bdaa620d443b07ce334b64de8 (patch)
tree0eeee9e6b4cbe429cd3ce287a87fb7da1ce540d6 /sbin/mdconfig/mdconfig.8
parentd413d210712e0e54001a2fdfd3297f98b9693dca (diff)
downloadsrc-5810c7ef77f9d72bdaa620d443b07ce334b64de8.tar.gz
src-5810c7ef77f9d72bdaa620d443b07ce334b64de8.zip
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
Notes
Notes: svn path=/head/; revision=169672
Diffstat (limited to 'sbin/mdconfig/mdconfig.8')
-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 5437a38d29f2..498a5d1fa2ac 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 ,