Date: Wed, 20 May 2009 05:06:48 +1000 From: Andrew Milton <akm@theinternet.com.au> To: Marcel Moolenaar <xcllnt@mac.com> Cc: current@freebsd.org Subject: Re: gpart Message-ID: <20090519190648.GD1050@camelot.theinternet.com.au> In-Reply-To: <BC7D30D0-00ED-4B07-977E-9A3D45383C9E@mac.com> References: <20090518162253.GA78829@citylink.fud.org.nz> <20090519100744.GB5943@server.vk2pj.dyndns.org> <m2iqjxfbsr.wl%randy@psg.com> <20090519162936.GB1457@carrot.geeknest.org> <m2r5yldnt7.wl%randy@psg.com> <20090519171030.GG78829@citylink.fud.org.nz> <m2pre5dmkz.wl%randy@psg.com> <BC7D30D0-00ED-4B07-977E-9A3D45383C9E@mac.com>
next in thread | previous in thread | raw e-mail | index | archive | help
+-------[ 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 | > | ><doh> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20090519190648.GD1050>