Instead of hardcoding md10 as the device node in the cd9660 example,

use a trick submitted by Ruslan.

MFC after:	1 day
This commit is contained in:
Giorgos Keramidas 2007-11-09 18:02:51 +00:00
parent bf2105c4a9
commit 284096f773
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=173507

View File

@ -41,7 +41,7 @@
.\" .\"
.\" $FreeBSD$ .\" $FreeBSD$
.\" .\"
.Dd May 18, 2007 .Dd November 9, 2007
.Dt MDCONFIG 8 .Dt MDCONFIG 8
.Os .Os
.Sh NAME .Sh NAME
@ -218,8 +218,7 @@ mount /dev/md0c /mnt
.Pp .Pp
To mount an ISO 9660 CD image file: To mount an ISO 9660 CD image file:
.Bd -literal -offset indent .Bd -literal -offset indent
mdconfig -a -t vnode -u 10 -f cdimage.iso mount -t cd9660 /dev/`mdconfig -a -t vnode -f cdimage.iso` /mnt
mount_cd9660 /dev/md10 /mnt
.Ed .Ed
.Sh SEE ALSO .Sh SEE ALSO
.Xr md 4 , .Xr md 4 ,