On Wed, 29 Feb 2012, ill...@gmail.com wrote:

On 29 February 2012 10:33, Robert Huff <roberth...@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.)
_______________________________________________
freebsd-questions@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-questions
To unsubscribe, send any mail to "freebsd-questions-unsubscr...@freebsd.org"

Reply via email to