Date: Wed, 24 Aug 2005 07:02:21 +0200 From: "Poul-Henning Kamp" <phk@phk.freebsd.dk> To: Emanuel Strobl <Emanuel.strobl@gmx.net> Cc: freebsd-current@freebsd.org Subject: Re: GEOM too restrictive even with debugflags=16 Message-ID: <82298.1124859741@phk.freebsd.dk> In-Reply-To: Your message of "Tue, 23 Aug 2005 23:06:48 %2B0200." <200508232307.00566@harrymail>
next in thread | previous in thread | raw e-mail | index | archive | help
In message <200508232307.00566@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@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?82298.1124859741>