From owner-freebsd-current@FreeBSD.ORG Tue May 19 19:00:30 2009 Return-Path: Delivered-To: current@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 6A7D91065674; Tue, 19 May 2009 19:00:30 +0000 (UTC) (envelope-from xcllnt@mac.com) Received: from asmtpout013.mac.com (asmtpout013.mac.com [17.148.16.88]) by mx1.freebsd.org (Postfix) with ESMTP id 538AF8FC16; Tue, 19 May 2009 19:00:30 +0000 (UTC) (envelope-from xcllnt@mac.com) MIME-version: 1.0 Content-transfer-encoding: 7BIT Content-type: text/plain; charset=US-ASCII; format=flowed Received: from MacBook-Pro.lan.xcllnt.net (mail.xcllnt.net [75.101.29.67]) by asmtp013.mac.com (Sun Java(tm) System Messaging Server 6.3-8.01 (built Dec 16 2008; 32bit)) with ESMTPSA id <0KJW00DAIM5V2V00@asmtp013.mac.com>; Tue, 19 May 2009 11:36:04 -0700 (PDT) Message-id: From: Marcel Moolenaar To: Randy Bush In-reply-to: Date: Tue, 19 May 2009 11:32:19 -0700 References: <20090518162253.GA78829@citylink.fud.org.nz> <20090519100744.GB5943@server.vk2pj.dyndns.org> <20090519162936.GB1457@carrot.geeknest.org> <20090519171030.GG78829@citylink.fud.org.nz> X-Mailer: Apple Mail (2.935.3) Cc: current@freebsd.org, Andrew Thompson , Ulf Lilleengen Subject: Re: gpart X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 19 May 2009 19:00:30 -0000 On May 19, 2009, at 10:33 AM, Randy Bush wrote: >> If you have done a chroot then you need to make sure devfs is also >> mounted within it >> >> mount -t devfs devfs /dist/dev > > thanks. > > Fixit# gpart create -s gpt /dev/ad4 > gpart: geom 'ad4': File exists > > Fixit# gpart create -s gpt ad4 > gpart: geom 'ad4': File exists > > sorry to be such a pita Try and read the feedback (i.e. error) you get and interpret it. Close your email program for a second and stop typing alrady. Use your brain! Ok, so you get an error and the error tells you that something exists already. It says "geom 'ad4'" and not "device 'ad4'", so let's not take "File exists" literally and wonder if it's /dev/ad4. A simple ls(1) should eliminate any doubts there. So, maybe there's already some partitioning on the disk? Hmmm, how to find that out. Tough one... Hang on, let's do: gpart show ad4 What does that say? -- Marcel Moolenaar xcllnt@mac.com