From owner-freebsd-current@FreeBSD.ORG Tue Aug 23 21:39:17 2005 Return-Path: X-Original-To: freebsd-current@freebsd.org 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 B8A2416A41F for ; Tue, 23 Aug 2005 21:39:17 +0000 (GMT) (envelope-from jpeg@thilelli.net) Received: from smtp.thilelli.net (smtp.thilelli.net [213.41.129.161]) by mx1.FreeBSD.org (Postfix) with ESMTP id 31CA843D53 for ; Tue, 23 Aug 2005 21:39:16 +0000 (GMT) (envelope-from jpeg@thilelli.net) Received: from localhost (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 6B0335C7F; Tue, 23 Aug 2005 23:39:15 +0200 (CEST) Received: from bento.thilelli.net ([127.0.0.1]) by localhost (bento.thilelli.net [127.0.0.1]) (amavisd-new, port 10024) with LMTP id 06424-02; Tue, 23 Aug 2005 23:39:10 +0200 (CEST) Received: from webmail.thilelli.net (localhost [127.0.0.1]) by bento.thilelli.net (Postfix) with ESMTP id 97BE85C7A; Tue, 23 Aug 2005 23:39:10 +0200 (CEST) Received: from 192.168.1.20 (SquirrelMail authenticated user jgabel) by webmail.thilelli.net with HTTP; Tue, 23 Aug 2005 23:39:10 +0200 (CEST) Message-ID: <52928.192.168.1.20.1124833150.squirrel@webmail.thilelli.net> In-Reply-To: <200508232307.00566@harrymail> References: <200508232307.00566@harrymail> Date: Tue, 23 Aug 2005 23:39:10 +0200 (CEST) From: "Julien Gabel" To: "Emanuel Strobl" User-Agent: SquirrelMail/1.4.5 MIME-Version: 1.0 Content-Type: text/plain;charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-Priority: 3 (Normal) Importance: Normal X-Virus-Scanned: amavisd-new at thilelli.net Cc: freebsd-current@freebsd.org Subject: Re: GEOM too restrictive even with debugflags=16 X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: jpeg@thilelli.net List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 23 Aug 2005 21:39:17 -0000 > 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! > > What sense does it make to forbid such modifications? Especially if I > enable foot-shooting?! > > I'd love to test a patch, I can't tell how angry I am that I have to shut > down the box! Just a though - as it happened to me in the past: what about the security level (greater than 0)? -- -jpeg.