From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mail.redhat.com (mail.redhat.com [199.183.24.239]) by listman.redhat.com (Postfix) with ESMTP id 3ECBD2F07B for ; Tue, 14 Aug 2001 11:50:00 -0400 (EDT) Received: (from mail@localhost) by mail.redhat.com (8.11.0/8.8.7) id f7EFiHX06645 for axp-list@listman.redhat.com; Tue, 14 Aug 2001 11:44:17 -0400 Received: from ellpspace.math.ualberta.ca (IDENT:michal@ellpspace.math.ualberta.ca [129.128.207.67]) by mail.redhat.com (8.11.0/8.8.7) with ESMTP id f7EFiGg06641 for ; Tue, 14 Aug 2001 11:44:16 -0400 Received: (from michal@localhost) by ellpspace.math.ualberta.ca (8.9.3/8.9.3) id JAA08378 for axp-list@redhat.com; Tue, 14 Aug 2001 09:49:54 -0600 Date: Tue, 14 Aug 2001 09:49:53 -0600 From: Michal Jaegermann To: axp-list@redhat.com Subject: Re: BSD disklabel problem ... Message-ID: <20010814094953.B8329@ellpspace.math.ualberta.ca> References: <3B78ECAF.81679F7E@astro.univie.ac.at> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i In-Reply-To: <3B78ECAF.81679F7E@astro.univie.ac.at>; from p.mittermayer@astro.univie.ac.at on Tue, Aug 14, 2001 at 11:17:35AM +0200 X-Loop: axp-list@redhat.com Sender: axp-list-admin@redhat.com Errors-To: axp-list-admin@redhat.com X-BeenThere: axp-list@redhat.com X-Mailman-Version: 2.0.1 Precedence: bulk Reply-To: axp-list@redhat.com List-Help: List-Post: List-Subscribe: , List-Id: Linux and Red Hat on Alpha processors List-Unsubscribe: , List-Archive: On Tue, Aug 14, 2001 at 11:17:35AM +0200, Peter Mittermayer wrote: > Seems not to be so easy. Everytime I want to create a new non-BSD > partition I get a segmentation fault ... > > I'm doing the following: > I delete the BSD partition, write the disklabel, change to DOS disklabel > ('r') and press 'n' to create a new partition > > But when pressing n I get the segmentation fault ... This is a bug in fdisk which I reported to the author, and to Red Hat, already a number of times. I even provided some patches (and a list of steps to cause segmentation fault with a 100% success rate :-). To workaround that "wipe" an initial portion of the disk writing to it nulls from /dev/zero with a help of dd. One or two K should be enough. There is no "magic" in using either kind of partitioning if information you put there is correct. Both work just fine. BSD-type disklabel is limited to eight partitions total. With "FAT-style" you may have more but, for a change, it is so hacky in places and has so many "dark corners" that you really do not want to know details. :-) Michal