Subject: Re: initial disk setup
To: Jonathan A. Kollasch <jakllsch@kollasch.net>
From: Peter <plp@actcom.co.il>
List: port-i386
Date: 07/16/2006 11:38:17
On Sat, 15 Jul 2006, Jonathan A. Kollasch wrote:

> On Sat, Jul 15, 2006 at 08:30:21PM +0300, Peter wrote:
>>
>> I have done a manual disk setup from scratch and it was very hard. Could
>> a tool like sfdisk be adopted for netbsd ? Either that or a very
>> accurate howto released for this ?
>
> sfdisk looks very much like fdisk(8).
>
> Partitioning seems simple to me:
>
> - Optionally, encompass the entire disk with an MBR partition.
> - run disklabel -i

Yes, but I omitted to say that it has to be done by a script, not 
interactively. For sfdisk, this is easy. For fdisk it is not. The step 
where one has to munge with cylinders and such in fdisk is the killer 
imho. sfdisk can be used to automate this I think. It does not have to 
be sfdisk, I was thinking of sfdisk as an idea for a scriptable 
partition editor.

> Now, the suggested wedge editor would be nice, but we have all the
> necessary tools (with the notable exception of the one(s) for GPT)
> for the platforms we support.

Peter