From owner-freebsd-current@FreeBSD.ORG Tue May 19 22:27:55 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 9C0001065672 for ; Tue, 19 May 2009 22:27:55 +0000 (UTC) (envelope-from akm@theinternet.com.au) Received: from fallbackmx10.syd.optusnet.com.au (fallbackmx10.syd.optusnet.com.au [211.29.132.251]) by mx1.freebsd.org (Postfix) with ESMTP id 331A58FC1B for ; Tue, 19 May 2009 22:27:54 +0000 (UTC) (envelope-from akm@theinternet.com.au) Received: from mail03.syd.optusnet.com.au (mail03.syd.optusnet.com.au [211.29.132.184]) by fallbackmx10.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n4JJ9Xx6009731 for ; Wed, 20 May 2009 05:09:33 +1000 Received: from camelot.theinternet.com.au (d122-105-150-189.bla11.nsw.optusnet.com.au [122.105.150.189]) by mail03.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id n4JJ9PAX011929; Wed, 20 May 2009 05:09:31 +1000 Received: by camelot.theinternet.com.au (Postfix, from userid 1000) id E8BB317022; Wed, 20 May 2009 05:06:48 +1000 (EST) Date: Wed, 20 May 2009 05:06:48 +1000 From: Andrew Milton To: Marcel Moolenaar Message-ID: <20090519190648.GD1050@camelot.theinternet.com.au> References: <20090518162253.GA78829@citylink.fud.org.nz> <20090519100744.GB5943@server.vk2pj.dyndns.org> <20090519162936.GB1457@carrot.geeknest.org> <20090519171030.GG78829@citylink.fud.org.nz> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.4.2.3i Cc: current@freebsd.org 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 22:27:55 -0000 +-------[ Marcel Moolenaar ]---------------------- | | 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? Instead of having to send multiple snide emails like this about it, why not just make the error message more descriptive and less BSOD-like? Surely fixing the error messages would take less time than dealing with the emails... -- Andrew Milton akm@theinternet.com.au