cvs commit: src/sbin/mdconfig mdconfig.8
Pawel Jakub Dawidek
pjd at FreeBSD.org
Fri Nov 9 10:26:52 PST 2007
On Fri, Nov 09, 2007 at 06:02:52PM +0000, Giorgos Keramidas wrote:
> keramida 2007-11-09 18:02:51 UTC
>
> FreeBSD src repository (doc committer)
>
> Modified files:
> sbin/mdconfig mdconfig.8
> Log:
> Instead of hardcoding md10 as the device node in the cd9660 example,
> use a trick submitted by Ruslan.
>
> MFC after: 1 day
>
> Revision Changes Path
> 1.38 +2 -3 src/sbin/mdconfig/mdconfig.8
>
> http://cvsweb.FreeBSD.org/src/sbin/mdconfig/mdconfig.8.diff?r1=1.37&r2=1.38&f=h
> --- src/sbin/mdconfig/mdconfig.8 2007/05/18 13:57:17 1.37
> +++ src/sbin/mdconfig/mdconfig.8 2007/11/09 18:02:51 1.38
> @@ -39,9 +39,9 @@
> .\" @(#)vnconfig.8 8.1 (Berkeley) 6/5/93
> .\" from: src/usr.sbin/vnconfig/vnconfig.8,v 1.19 2000/12/27 15:30:29
> .\"
> -.\" $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sbin/mdconfig/mdconfig.8,v 1.37 2007/05/18 13:57:17 keramida Exp $
> +.\" $FreeBSD: /usr/local/www/cvsroot/FreeBSD/src/sbin/mdconfig/mdconfig.8,v 1.38 2007/11/09 18:02:51 keramida Exp $
> .\"
> -.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
Another trick is to just skip '-t vnode' as it is assumed when -f is
used.
--
Pawel Jakub Dawidek http://www.wheel.pl
pjd at FreeBSD.org http://www.FreeBSD.org
FreeBSD committer Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/cvs-src/attachments/20071109/e0ae2ac8/attachment.pgp
More information about the cvs-src
mailing list