bin/40656: patch: sysinstall: scripted deletion of slices

John Baldwin jhb at FreeBSD.org
Mon Aug 2 14:00:44 PDT 2004


The following reply was made to PR bin/40656; it has been noted by GNATS.

From: John Baldwin <jhb at FreeBSD.org>
To: freebsd-gnats-submit at FreeBSD.org, thz at lennartz-electronic.de
Cc:  
Subject: Re: bin/40656: patch: sysinstall: scripted deletion of slices
Date: Mon, 2 Aug 2004 14:50:23 -0400

 Where I work I use install scripts to install onto a disk and have no problem 
 overwriting disks with existing fdisk(8) tables.  This is an excerpt of what 
 I use:
 
 # setup a FreeBSD slice
 disk=ad0
 partition=all
 bootManager=standard
 #diskInteractive=yes
 diskPartitionEditor
 
 # setup partitions in the slice
 # 512mb /
 # 1gb swap
 # 2gb /tmp
 # 2gb /var
 # 60gb /usr
 # rest /media
 #rootSize=512
 #tmpSize=2048
 #varSize=2048
 
 ad0s1-1=ufs 1048576 /
 ad0s1-2=swap 2079832 /
 ad0s1-3=ufs 4194304 /tmp 1
 ad0s1-4=ufs 4194304 /var 1
 ad0s1-5=ufs 125829120 /usr 1
 ad0s1-6=ufs 0 /media 1
 diskLabelEditor
 
 -- 
 John Baldwin <jhb at FreeBSD.org>  <><  http://www.FreeBSD.org/~jhb/
 "Power Users Use the Power to Serve"  =  http://www.FreeBSD.org


More information about the freebsd-qa mailing list