From owner-freebsd-questions@FreeBSD.ORG Wed Feb 29 19:46:46 2012 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6E9CD106566C for ; Wed, 29 Feb 2012 19:46:46 +0000 (UTC) (envelope-from wblock@wonkity.com) Received: from wonkity.com (wonkity.com [67.158.26.137]) by mx1.freebsd.org (Postfix) with ESMTP id 08F128FC17 for ; Wed, 29 Feb 2012 19:46:45 +0000 (UTC) Received: from wonkity.com (localhost [127.0.0.1]) by wonkity.com (8.14.5/8.14.5) with ESMTP id q1TJkjk1080622; Wed, 29 Feb 2012 12:46:45 -0700 (MST) (envelope-from wblock@wonkity.com) Received: from localhost (wblock@localhost) by wonkity.com (8.14.5/8.14.5/Submit) with ESMTP id q1TJkjnh080619; Wed, 29 Feb 2012 12:46:45 -0700 (MST) (envelope-from wblock@wonkity.com) Date: Wed, 29 Feb 2012 12:46:45 -0700 (MST) From: Warren Block To: "illoai@gmail.com" In-Reply-To: Message-ID: References: <201202040953.19456.jmc-freebsd2@milibyte.co.uk> <201202041433.55000.jmc-freebsd2@milibyte.co.uk> <20120228173042.218144e7.freebsd@edvax.de> <20302.11068.426551.17422@jerusalem.litteratus.org> <20302.17725.515279.964152@jerusalem.litteratus.org> User-Agent: Alpine 2.00 (BSF 1167 2008-08-23) MIME-Version: 1.0 Content-Type: MULTIPART/MIXED; BOUNDARY="-902635197-1577957914-1330544318=:80458" Content-ID: X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-4.2.7 (wonkity.com [127.0.0.1]); Wed, 29 Feb 2012 12:46:45 -0700 (MST) Cc: Robert Huff , "bsalinux@gmail.com" , freebsd-questions@freebsd.org Subject: Re: disk labels (was: Re: fixating USB Storage) X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 29 Feb 2012 19:46:46 -0000 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: On Wed, 29 Feb 2012, illoai@gmail.com wrote: > On 29 February 2012 10:33, 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. >> > > 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--