Re: GEOM too restrictive even with debugflags=16

From: Poul-Henning Kamp <phk_at_phk.freebsd.dk>
Date: Wed, 24 Aug 2005 07:02:21 +0200
In message <200508232307.00566_at_harrymail>, Emanuel Strobl writes:
>--nextPart2133393.7VrDXAqMhl
>Content-Type: text/plain;
>  charset="us-ascii"
>Content-Transfer-Encoding: quoted-printable
>Content-Disposition: inline
>
>Hello,
>
>again I ran into the problem that I need to edit my GPT while the system is
> 
>in multiuser running. But the following doesn't work:
>cale:/#70: sysctl -w kern.geom.debugflags=16
>kern.geom.debugflags: 0 -> 16
>cale:/#71: gpt remove -i 8 ad0s2
>gpt remove: unable to open device 'ad0s2': Operation not permitted
>
>Arrghhh. Now I have to stop all work and go into singleuser mode. Thats not
>acceptable! And please don't tell me that I use the wrong device, it's a 
>i386 machine so I need a MBR in ad0 and have to use GPT inside a slice!

The geom_gpt class needs to implement g_ctl methods for metadata modification.

-- 
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 Wed Aug 24 2005 - 03:02:24 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:42 UTC