Red Hat axp-list: Linux on Alpha (1995-2022)
 help / color / mirror / Atom feed
From: Michal Jaegermann <michal@ellpspace.math.ualberta.ca>
To: axp-list@redhat.com
Subject: Re: BSD disklabel problem ...
Date: Tue, 14 Aug 2001 09:49:53 -0600	[thread overview]
Message-ID: <20010814094953.B8329@ellpspace.math.ualberta.ca> (raw)
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

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




  parent reply	other threads:[~2001-08-14 15:50 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2001-08-13 14:36 BSD disklabel problem Peter Mittermayer
2001-08-13 16:23 ` Michal Jaegermann
2001-08-14  6:58   ` Gregor Maier
2001-08-14  8:08     ` Peter Mittermayer
2001-08-14  9:01       ` Gregor Maier
2001-08-14  9:17         ` Peter Mittermayer
2001-08-14  9:35           ` Gregor Maier
2001-08-14 15:49           ` Michal Jaegermann [this message]
2001-08-14 15:34     ` Michal Jaegermann
2001-08-13 16:36 ` unsubscribe Ing. Mario Alejandro Juárez Gutiérrez
2001-08-13 17:46 ` BSD disklabel problem Falk Hueffner
read-only archive

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox