Date: Wed, 29 Feb 2012 12:46:45 -0700 (MST) From: Warren Block <wblock@wonkity.com> To: "illoai@gmail.com" <illoai@gmail.com> Cc: Robert Huff <roberthuff@rcn.com>, "bsalinux@gmail.com" <bsalinux@gmail.com>, freebsd-questions@freebsd.org Subject: Re: disk labels (was: Re: fixating USB Storage) Message-ID: <alpine.BSF.2.00.1202291237230.80458@wonkity.com> In-Reply-To: <CAHHBGkr0rQ8AsSCqh_%2B16sNiFgvveO=v-ddfzEEP%2BMHKgfkNfQ@mail.gmail.com> References: <CAB3Sx6evad7VOWoK3AHF6DW0y0k6ZgpBwPUMSu7Ag8-dQqSJTw@mail.gmail.com> <201202040953.19456.jmc-freebsd2@milibyte.co.uk> <CABfwSFrW%2BwSacq3arxds30qs4LnkdYXkfGV0MZ7Em0fPu7P=Mg@mail.gmail.com> <201202041433.55000.jmc-freebsd2@milibyte.co.uk> <CAB3Sx6dFKweDSAjbah2TXX6WWUV0eN-dgix79XziBKXHy0REaQ@mail.gmail.com> <20120228173042.218144e7.freebsd@edvax.de> <20302.11068.426551.17422@jerusalem.litteratus.org> <alpine.BSF.2.00.1202290751320.79170@wonkity.com> <20302.17725.515279.964152@jerusalem.litteratus.org> <CAHHBGkr0rQ8AsSCqh_%2B16sNiFgvveO=v-ddfzEEP%2BMHKgfkNfQ@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
This message is in MIME format. The first part should be readable text, while the remaining parts are likely unreadable without MIME-aware tools. ---902635197-1577957914-1330544318=:80458 Content-Type: TEXT/PLAIN; CHARSET=ISO-8859-15; FORMAT=flowed Content-Transfer-Encoding: 8BIT Content-ID: <alpine.BSF.2.00.1202291240401.80589@wonkity.com> On Wed, 29 Feb 2012, illoai@gmail.com wrote: > On 29 February 2012 10:33, Robert Huff <roberthuff@rcn.com> wrote: >> >> Warren Block writes: >>> > I have a disk - ad1 - with a partition - p2 - that was >>> > (obviously) created by gpart ... but no label was attached. >>> > Can I add a label to that partition later? "man gpart" only >>> > shows a label being added when the partition is created, >>> >>> (untested) >>> # gpart modify -i 2 -l mylabel ada0 >> >> I did this, and nothing exploded. :-) >> When (and where) should I expect to see these appear under >> /dev? Immediately? After rebooting? I want to edit fstab, but >> want to be clear on how. >> > > The label(s) should be accessible immediately, HOWEVER: > if the filesystem is mounted rw they'll be lost on reboot. So > you probably want to do the labelling from single-user mode. With filesystem labels, yes. Should not be a problem with gpart labels on a partition. (Just tried it.) ---902635197-1577957914-1330544318=:80458--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1202291237230.80458>