From owner-freebsd-current@FreeBSD.ORG Fri May 9 05:21:48 2003 Return-Path: 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 8DA3537B401 for ; Fri, 9 May 2003 05:21:48 -0700 (PDT) Received: from MX1.estpak.ee (mta2.mail.neti.ee [194.126.101.111]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5D68443FA3 for ; Fri, 9 May 2003 05:21:47 -0700 (PDT) (envelope-from kalts@estpak.ee) Received: from kevad.internal (80-235-42-96-dsl.mus.estpak.ee [80.235.42.96]) by MX1.estpak.ee (Postfix) with ESMTP id 3B21C88BE1 for ; Fri, 9 May 2003 15:20:12 +0300 (EEST) Received: (from vallo@localhost) by kevad.internal (8.12.9/8.12.9/Submit) id h495Lja1000655 for freebsd-current@freebsd.org; Fri, 9 May 2003 08:21:45 +0300 (EEST) (envelope-from vallo) Date: Fri, 9 May 2003 08:21:45 +0300 From: Vallo Kallaste To: freebsd-current@freebsd.org Message-ID: <20030509052145.GA595@kevad.internal> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.5.4i-ja.1 Subject: GEOM loose end? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: kalts@estpak.ee List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 09 May 2003 12:21:48 -0000 Hi Several times now I've encountered following situation: I have harddisk with two slices, remaining space unallocated. There's FreeBSD system installed on the first slice, other one used as temporary storage, i.e. both have disklabel and mounted filesystems. Now I want to create third slice for whatever reasons. I know that it's impossible without setting special geom debugflag, so I'll set it kern.geom.debugflags=16. Using sysinstall I'll create the third slice and write new slice table down to disk. Fdisk(8) confirms that third slice is there. The only thing missing is now /dev entry for this slice, there's no /dev/adXs3. This /dev entry will be created when I reboot the system, but that's not acceptable. Any workaround? Thanks -- Vallo Kallaste