Date: Thu, 11 Sep 2003 20:48:32 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Josef Karthauser <joe@FreeBSD.org> Cc: freebsd-current@FreeBSD.org Subject: Re: re-fdisk'ing a partition - permission denied? Message-ID: <866.1063306112@critter.freebsd.dk> In-Reply-To: Your message of "Thu, 11 Sep 2003 19:36:42 BST." <20030911183642.GQ22341@genius.tao.org.uk>
next in thread | previous in thread | raw e-mail | index | archive | help
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.
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?866.1063306112>