From owner-freebsd-current@FreeBSD.ORG Thu Sep 11 11:48:52 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B1B1116A4BF; Thu, 11 Sep 2003 11:48:52 -0700 (PDT) Received: from critter.freebsd.dk (p26.n-sfpop02.stsn.com [199.107.153.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 8054C44005; Thu, 11 Sep 2003 11:48:51 -0700 (PDT) (envelope-from phk@phk.freebsd.dk) Received: from critter.freebsd.dk (localhost [127.0.0.1]) by critter.freebsd.dk (8.12.9/8.12.9) with ESMTP id h8BImXfp000867; Thu, 11 Sep 2003 20:48:38 +0200 (CEST) (envelope-from phk@phk.freebsd.dk) To: Josef Karthauser From: "Poul-Henning Kamp" In-Reply-To: Your message of "Thu, 11 Sep 2003 19:36:42 BST." <20030911183642.GQ22341@genius.tao.org.uk> Date: Thu, 11 Sep 2003 20:48:32 +0200 Message-ID: <866.1063306112@critter.freebsd.dk> cc: freebsd-current@FreeBSD.org Subject: Re: re-fdisk'ing a partition - permission denied? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Sep 2003 18:48:52 -0000 In message <20030911183642.GQ22341@genius.tao.org.uk>, Josef Karthauser writes: > >--7UIJfHqpdi+oBJdT >Content-Type: text/plain; charset=us-ascii >Content-Disposition: inline >Content-Transfer-Encoding: quoted-printable > >On Tue, Sep 09, 2003 at 05:14:15PM +0200, Poul-Henning Kamp wrote: >> In message <20030908203049.5FF375D04@ptavv.es.net>, "Kevin Oberman" write= >s: >>=20 >> >In any case, since GEOM was added you can no longer slice or label an >> >active device. As a result, the only way I know of to change slices or >> >labels on V5 is to boot off of CD or floppy Fixit disks or install >> >disks. (I just had to do this on my laptop this morning.) >>=20 >> If this is the case it is a bug in fdisk(8). >>=20 >> The only restriction GEOM introduces is that you cannot change an >> _open_ device. Anything else is a bug. >>=20 > >Change, or update? It's probable that fdisk is writing the entire >partition table in one go. Shouldn't geom be ok it the bit that refers >to open devices is the same as it was before? Yes, exactly. I've put this on my list for when I get home. If somebody can make a small shell script which reproduces this, it will be fixed faster. -- Poul-Henning Kamp | UNIX since Zilog Zeus 3.20 phk@FreeBSD.ORG | TCP/IP since RFC 956 FreeBSD committer | BSD since 4.3-tahoe Never attribute to malice what can adequately be explained by incompetence.