From owner-freebsd-questions@FreeBSD.ORG Wed May 12 16:35:10 2010 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 D4A811065675 for ; Wed, 12 May 2010 16:35:10 +0000 (UTC) (envelope-from carlj@peak.org) Received: from redcondor2.peak.org (redcondor2.peak.org [69.59.192.56]) by mx1.freebsd.org (Postfix) with ESMTP id 934028FC1A for ; Wed, 12 May 2010 16:35:10 +0000 (UTC) Received: from peak-mail-gateway.peak.org ([69.59.192.42]) by redcondor2.peak.org ({e8dac926-1ec8-47e6-b410-31008b345fb7}) via TCP (outbound) with ESMTP id 20100512163509674 for ; Wed, 12 May 2010 16:35:09 +0000 X-RC-FROM: X-RC-RCPT: Received: from cjlinux.localnet (207.55.91.197.peak.org [207.55.91.197] (may be forged)) (authenticated bits=0) by peak-mail-gateway.peak.org (8.12.10/8.12.8) with ESMTP id o4CGZ8u4079420 (version=TLSv1/SSLv3 cipher=AES256-SHA bits=256 verify=NO) for ; Wed, 12 May 2010 09:35:09 -0700 (PDT) Received: from carlj by cjlinux.localnet with local (Exim 4.69) (envelope-from ) id 1OCEto-0001Ws-F9 for freebsd-questions@freebsd.org; Wed, 12 May 2010 09:35:08 -0700 To: freebsd-questions@freebsd.org References: <20100510202618.GA1748@Melon.malikania.fr> <20100511174006.GA7980@slackbox.erewhon.net> <20100511181202.GA20091@slackbox.erewhon.net> From: Carl Johnson Date: Wed, 12 May 2010 09:35:08 -0700 In-Reply-To: <20100511181202.GA20091@slackbox.erewhon.net> (Roland Smith's message of "Tue\, 11 May 2010 20\:12\:02 +0200") Message-ID: <87pr11axj7.fsf@cjlinux.localnet> User-Agent: Gnus/5.11 (Gnus v5.11) Emacs/22.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Subject: Re: glabel nor tunefs save my labels 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, 12 May 2010 16:35:10 -0000 Roland Smith writes: > On Tue, May 11, 2010 at 07:46:57PM +0200, David DEMELIER wrote: >> 2010/5/11 Roland Smith : >> > On Tue, May 11, 2010 at 07:08:40PM +0200, David DEMELIER wrote: >> >> Thanks for all your answers. >> >> >> >> markand@Melon ~ $ sudo tunefs -p /dev/ad0s1f >> > >> >> tunefs: volume label: (-L) =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 = =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 =C2=A0 usr >> >> >> >> It's weird, as you can see the label is set but nothing in /dev/label, >> >> /dev/ufs, /dev/vol ! >> > >>=20 >> Aaah ! So I understand everything now ! Is this written somewhere ? > > See =C2=A719.6 (Labeling Disk Devices) in the FreeBSD Handbook. However, = it is not mentioned > there that labels are removed when the partition is mounted. Maybe that > behavior is recent? I am not the original poster, but I tried again and I now am mostly using labels and the labels are still showing in /dev/ufs/. I didn't have labels showing in /dev/ufs, but I changed fstab to what they should be and rebooted. The system came up using the labels and they are showing in /dev/ufs/ and using 'glabel status'. I say mostly because the /usr partition isn't recognized for some reason, even though dumpfs and tunefs show the label. That label is also not shown in /dev/ufs or using 'glabel status'. That made the reboot a little tricky since I had to manually mount /usr in order to get an editor to edit fstab to continue the boot. --=20 Carl Johnson carlj@peak.org