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$
.\"
.Dd May 18, 2007
.Dd November 9, 2007
.Dt MDCONFIG 8
.Os
.Sh NAME
@ -218,8 +218,7 @@ mount /dev/md0c /mnt
.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
mount -t cd9660 /dev/`mdconfig -a -t vnode -f cdimage.iso` /mnt
.Ed
.Sh SEE ALSO
.Xr md 4 ,