Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 06 May 2003 09:27:06 -0700
From:      "Kevin Oberman" <oberman@es.net>
To:        current@freebsd.org
Subject:   Request for small addition to mdconfig man page
Message-ID:  <20030506162706.E64C85D04@ptavv.es.net>

next in thread | raw e-mail | index | archive | help
I would like to request an small addition to the man page for
mdconfig. It has no examples of labeling a memory disk. There was such
an example in the vnconfig man page. This might replace the existing
example for creating an md device with /tmp/boot.flp as backing.

     To create a disk named /dev/md0 with somebackingfile as backing and
     label it with ffs partitions:

           mdconfig -a -t vnode -f somebackingfile -u 0
           disklabel -r -w md0 auto
           disklabel -e md0

BTW, I have confirmed that this works with bsdlabel.

R. Kevin Oberman, Network Engineer
Energy Sciences Network (ESnet)
Ernest O. Lawrence Berkeley National Laboratory (Berkeley Lab)
E-mail: oberman@es.net			Phone: +1 510 486-8634



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20030506162706.E64C85D04>