Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 29 Feb 2012 12:37:19 -0700 (MST)
From:      Warren Block <wblock@wonkity.com>
To:        Robert Huff <roberthuff@rcn.com>
Cc:        "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.1202291233560.80458@wonkity.com>
In-Reply-To: <20302.17725.515279.964152@jerusalem.litteratus.org>
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>

next in thread | previous in thread | raw e-mail | index | archive | help
On Wed, 29 Feb 2012, Robert Huff 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.

They will be in /dev/gpt/.  Labels created with glabel are in 
/dev/label/, and filesystem labels go in directories named for the 
filesystem like /dev/ufs/.



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?alpine.BSF.2.00.1202291233560.80458>