Re: re-fdisk'ing a partition - permission denied?

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Thu, 11 Sep 2003 20:48:32 +0200
In message <20030911183642.GQ22341_at_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_at_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_at_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.
Received on Thu Sep 11 2003 - 09:48:52 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:37:22 UTC