Skip site navigation (1)Skip section navigation (2)
Date:      Tue,  6 May 2003 15:11:42 -0700 (PDT)
From:      Kevin Oberman <oberman@es.net>
To:        FreeBSD-gnats-submit@FreeBSD.org
Subject:   docs/51897: Add example for disklable for md devices
Message-ID:  <20030506221142.1B9315D04@ptavv.es.net>
Resent-Message-ID: <200305062220.h46MKBN6082644@freefall.freebsd.org>

next in thread | raw e-mail | index | archive | help

>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@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:



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