From owner-freebsd-questions Fri Feb 28 9:53:39 2003 Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 444C737B401 for ; Fri, 28 Feb 2003 09:53:38 -0800 (PST) Received: from mta03.btfusion.com (mta03.btfusion.com [62.172.195.12]) by mx1.FreeBSD.org (Postfix) with ESMTP id 665E743FDD for ; Fri, 28 Feb 2003 09:53:37 -0800 (PST) (envelope-from rhw@shspost.co.uk) Received: from [217.35.109.201] (helo=shspost.co.uk) by mta03.btfusion.com with smtp (Exim 4.10) id 18oohT-000010-00 for freebsd-questions@freebsd.org; Fri, 28 Feb 2003 17:53:35 +0000 Received: from rhw ([217.35.109.205]) by shspost.co.uk with SMTP (Mailtraq/1.1.5.1167) id SHSP43376E87D for freebsd-questions@freebsd.org; Fri, 28 Feb 2003 17:49:07 -0000 Message-ID: <000701c2df52$464cdd30$2700000a@rhw> From: "Richard" To: Subject: Disklabel auto allocate script Date: Fri, 28 Feb 2003 17:53:16 -0000 MIME-Version: 1.0 Content-Type: text/plain; charset="Windows-1252" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1106 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1106 X-Hops: 1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG hey i am trying to create a script to automatically detect the size of a drive,run fdisk then disklabel and allocate the partitions in a similar way to the sysinstall disklabel program, but i can't seem to find any documentation to help. the script is for a boot disk that will set up all the partitions on a drive then copy tarred filesystem onto each partition. can anyone help with how i can get disklabel to partition the drive from the command line? thanks To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message