Date: Tue, 19 May 2009 11:32:19 -0700 From: Marcel Moolenaar <xcllnt@mac.com> To: Randy Bush <randy@psg.com> Cc: current@freebsd.org, Andrew Thompson <thompsa@FreeBSD.org>, Ulf Lilleengen <ulf.lilleengen@gmail.com> Subject: Re: gpart Message-ID: <BC7D30D0-00ED-4B07-977E-9A3D45383C9E@mac.com> In-Reply-To: <m2pre5dmkz.wl%randy@psg.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>
next in thread | previous in thread | raw e-mail | index | archive | help
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? -- Marcel Moolenaar xcllnt@mac.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BC7D30D0-00ED-4B07-977E-9A3D45383C9E>