From owner-freebsd-questions@FreeBSD.ORG Wed May 12 17:41:26 2010 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id BF515106564A for ; Wed, 12 May 2010 17:41:26 +0000 (UTC) (envelope-from rsmith@xs4all.nl) Received: from smtp-vbr11.xs4all.nl (smtp-vbr11.xs4all.nl [194.109.24.31]) by mx1.freebsd.org (Postfix) with ESMTP id 5439D8FC13 for ; Wed, 12 May 2010 17:41:25 +0000 (UTC) Received: from slackbox.erewhon.net (slackbox.xs4all.nl [213.84.242.160]) by smtp-vbr11.xs4all.nl (8.13.8/8.13.8) with ESMTP id o4CHfNWo002477; Wed, 12 May 2010 19:41:24 +0200 (CEST) (envelope-from rsmith@xs4all.nl) Received: by slackbox.erewhon.net (Postfix, from userid 1001) id C0F33BAAA; Wed, 12 May 2010 19:41:23 +0200 (CEST) Date: Wed, 12 May 2010 19:41:23 +0200 From: Roland Smith To: Carl Johnson Message-ID: <20100512174123.GA15087@slackbox.erewhon.net> References: <20100510202618.GA1748@Melon.malikania.fr> <20100511174006.GA7980@slackbox.erewhon.net> <20100511181202.GA20091@slackbox.erewhon.net> <87pr11axj7.fsf@cjlinux.localnet> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="BOKacYhQ+x31HxR3" Content-Disposition: inline In-Reply-To: <87pr11axj7.fsf@cjlinux.localnet> X-GPG-Fingerprint: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 X-GPG-Key: http://www.xs4all.nl/~rsmith/pubkey.txt X-GPG-Notice: If this message is not signed, don't assume I sent it! User-Agent: Mutt/1.5.20 (2009-06-14) X-Virus-Scanned: by XS4ALL Virus Scanner Cc: freebsd-questions@freebsd.org 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 17:41:26 -0000 --BOKacYhQ+x31HxR3 Content-Type: text/plain; charset=iso-8859-15 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, May 12, 2010 at 09:35:08AM -0700, Carl Johnson wrote: > Roland Smith writes: >=20 > > 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) =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 =A0 = =A0 =A0 =A0 =A0 =A0 =A0 usr > >> >> > >> >> It's weird, as you can see the label is set but nothing in /dev/lab= el, > >> >> /dev/ufs, /dev/vol ! > >> > > >>=20 > >> Aaah ! So I understand everything now ! Is this written somewhere ? > > > > See =A719.6 (Labeling Disk Devices) in the FreeBSD Handbook. However, i= t is not mentioned > > there that labels are removed when the partition is mounted. Maybe that > > behavior is recent? >=20 > 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'. When I did my testing, I did not reboot the system. Maybe that is the diffe= rence? > 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. That is odd indeed. Maybe a misspelling in the label? Anything in dmesg or /var/log/messages. Roland --=20 R.F.Smith http://www.xs4all.nl/~rsmith/ [plain text _non-HTML_ PGP/GnuPG encrypted/signed email much appreciated] pgp: 1A2B 477F 9970 BA3C 2914 B7CE 1277 EFB0 C321 A725 (KeyID: C321A725) --BOKacYhQ+x31HxR3 Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (FreeBSD) iEYEARECAAYFAkvq6EMACgkQEnfvsMMhpyUehgCdFh3kgm8dbF/YzxRAmDm56YL3 aEwAn1lPL8lS3weG8MOAlJSjjEvCZDr2 =Y10s -----END PGP SIGNATURE----- --BOKacYhQ+x31HxR3--