From owner-freebsd-hackers Fri Sep 1 10:37:59 1995 Return-Path: hackers-owner Received: (from majordom@localhost) by freefall.FreeBSD.org (8.6.11/8.6.6) id KAA11055 for hackers-outgoing; Fri, 1 Sep 1995 10:37:59 -0700 Received: from irz301.inf.tu-dresden.de (irz301.inf.tu-dresden.de [141.76.1.11]) by freefall.FreeBSD.org (8.6.11/8.6.6) with ESMTP id KAA11037 for ; Fri, 1 Sep 1995 10:37:41 -0700 Received: from sax.sax.de by irz301.inf.tu-dresden.de (8.6.12/8.6.12-s1) with ESMTP id TAA29704 for ; Fri, 1 Sep 1995 19:37:33 +0200 Received: by sax.sax.de (8.6.11/8.6.12-s1) with UUCP id TAA22393 for hackers@freefall.FreeBSD.org; Fri, 1 Sep 1995 19:37:33 +0200 Received: (from j@localhost) by uriah.heep.sax.de (8.6.12/8.6.9) id TAA01574 for hackers@freefall.FreeBSD.org; Fri, 1 Sep 1995 19:18:27 +0200 From: J Wunsch Message-Id: <199509011718.TAA01574@uriah.heep.sax.de> Subject: Re: fdisk in 2.1.0--SNAP is broken To: hackers@freefall.FreeBSD.org Date: Fri, 1 Sep 1995 19:18:23 +0200 (MET DST) Reply-To: hackers@freefall.FreeBSD.org In-Reply-To: <9509011110.AA06700@kanga.x.org> from "Kaleb S. KEITHLEY" at Sep 1, 95 07:10:32 am Reply-To: joerg_wunsch@uriah.heep.sax.de (Joerg Wunsch) X-Phone: +49-351-2012 669 X-Mailer: ELM [version 2.4 PL23] MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Content-Length: 1018 Sender: hackers-owner@FreeBSD.org Precedence: bulk As Kaleb S. KEITHLEY wrote: > > > > fdisk -u -a /dev/r[sw]d0 > > > > (Don't use the `d' parititon.) > > Er, okay, that works. Don't know why that didn't occur to me, guess I'm > too set in my ways from 1.x and they way that it worked. So that raises > the next question, which is why was this changed from the way it worked > in 1.x, i.e. why did the 1.x fdisk know to use the raw device by default > but the 2.x fdisk does not? It doesn't follow the rule of least surprise. It's been changed since we've got a better solution than the mystic `d' partition now to access the entire drive; it's the slice code. Only the `c' partition remains magic now, it's the synonym for the entire slice. fdisk hasn't been updated yet. I'm about to commit my minor change to fdisk as recently posted here, fdisk will remain icky, but at least it will have better defaults than. -- cheers, J"org joerg_wunsch@uriah.heep.sax.de -- http://www.sax.de/~joerg/ Never trust an operating system you don't have sources for. ;-)