Request for small addition to mdconfig man page

Kevin Oberman oberman at es.net
Tue May 6 09:27:09 PDT 2003


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 at es.net			Phone: +1 510 486-8634


More information about the freebsd-current mailing list