From owner-freebsd-stable@FreeBSD.ORG Tue Jan 17 01:17:29 2006 Return-Path: X-Original-To: freebsd-stable@freebsd.org Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id B3B9316A41F for ; Tue, 17 Jan 2006 01:17:29 +0000 (GMT) (envelope-from chris@i13i.com) Received: from admin.i13i.com (admin.i13i.com [66.90.92.83]) by mx1.FreeBSD.org (Postfix) with SMTP id CDE8043D48 for ; Tue, 17 Jan 2006 01:17:28 +0000 (GMT) (envelope-from chris@i13i.com) Received: (qmail 2671 invoked from network); 17 Jan 2006 01:39:17 -0000 Received: from mail.i13i.com (HELO webmail.i13i.com) (208.53.187.133) by admin.i13i.com with SMTP; 17 Jan 2006 01:39:17 -0000 Received: from 195.139.252.5 (proxying for 62.92.188.11) (SquirrelMail authenticated user chris@i13i.com) by webmail.i13i.com with HTTP; Mon, 16 Jan 2006 19:39:17 -0600 (CST) Message-ID: <50949.195.139.252.5.1137461957.squirrel@webmail.i13i.com> In-Reply-To: <200601171024.47138.doconnor@gsoft.com.au> References: <20060116144113.A13969@xorpc.icir.org> <200601171024.47138.doconnor@gsoft.com.au> Date: Mon, 16 Jan 2006 19:39:17 -0600 (CST) From: chris@i13i.com To: "Daniel O'Connor" 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 Cc: Luigi Rizzo , stable@freebsd.org, freebsd-stable@freebsd.org Subject: Re: fdisk on mounted disks ? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 17 Jan 2006 01:17:29 -0000 You can umount any fs as long as it is not /usr or / boot into single user mode and then use fdisk. > On Tuesday 17 January 2006 09:11, Luigi Rizzo wrote: >> So, does anyone know the trick to be used to modify >> the slices on a mounted disk ? Or do i have to boot >> from a different media ? > > man 4 geom > Set the kern.geom.debugflags sysctl to 0x10 > > -- > Daniel O'Connor software and network engineer > for Genesis Software - http://www.gsoft.com.au > "The nice thing about standards is that there > are so many of them to choose from." > -- Andrew Tanenbaum > GPG Fingerprint - 5596 B766 97C0 0E94 4347 295E E593 DC20 7B3F CE8C >