docs/51897: Add example for disklable for md devices

Kevin Oberman oberman at es.net
Tue May 6 22:20:13 UTC 2003


>Number:         51897
>Category:       docs
>Synopsis:       Add example for disklable for md devices
>Confidential:   no
>Severity:       non-critical
>Priority:       medium
>Responsible:    freebsd-doc
>State:          open
>Quarter:        
>Keywords:       
>Date-Required:
>Class:          change-request
>Submitter-Id:   current-users
>Arrival-Date:   Tue May 06 15:20:10 PDT 2003
>Closed-Date:
>Last-Modified:
>Originator:     Kevin Oberman
>Release:        FreeBSD 5.0-CURRENT i386
>Organization:
ESnet--The Energy Sciences Network
>Environment:
System: FreeBSD ptavv.es.net 5.0-CURRENT FreeBSD 5.0-CURRENT #20: Mon May 5 12:11:13 PDT 2003 oberman at ptavv.es.net:/usr/obj/usr/src/sys/PTAVV i386

>Description:
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 old vnconfig man page. This might replace the existing
example for creating an md device with /tmp/boot.flp as backing.

>How-To-Repeat:
	N/A
>Fix:
Add the following:

     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
>Release-Note:
>Audit-Trail:
>Unformatted:



More information about the freebsd-doc mailing list