Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 24 May 2012 16:59:58 -0400
From:      Jung-uk Kim <jkim@FreeBSD.org>
To:        Edward Tomasz Napierala <trasz@freebsd.org>
Cc:        svn-src-head@freebsd.org, svn-src-all@freebsd.org, src-committers@freebsd.org
Subject:   Re: svn commit: r235918 - head/sys/geom/label
Message-ID:  <4FBEA14E.2060802@FreeBSD.org>
In-Reply-To: <201205241648.q4OGmXha049187@svn.freebsd.org>
References:  <201205241648.q4OGmXha049187@svn.freebsd.org>

next in thread | previous in thread | raw e-mail | index | archive | help
-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

On 2012-05-24 12:48:33 -0400, Edward Tomasz Napierala wrote:
> Author: trasz Date: Thu May 24 16:48:33 2012 New Revision: 235918 
> URL: http://svn.freebsd.org/changeset/base/235918
> 
> Log: Make g_label(4) ignore provider size when looking for UFS
> labels. Without it, it fails to create labels for filesystems
> resized by growfs(8).
> 
> PR:		kern/165962 Submitted by:	Olivier Cochard-Labbe <olivier at
> cochard dot me>
> 
> Modified: head/sys/geom/label/g_label_ufs.c

This commit broke my fstab based on ufsid.  I have something like this
in my fstab:

/dev/ufsid/44b3df81873011b5 /    ufs rw,noatime 1 1
/dev/ufsid/463b935456452bbd /tmp ufs rw,noatime 2 2
/dev/ufsid/44b3dfc4bfcc4c30 /usr ufs rw,noatime 2 2
/dev/ufsid/463b934b955f63ff /var ufs rw,noatime 2 2

Mounting / as read-only went fine and I had /dev/ada0s1a,
/dev/ada0s1d, etc.  Strangely, I also had matching ufsid's under
/dev/ufsid, e.g., /dev/ufsid/<some_ufsid>a, /dev/ufsid/<some_ufsid>d,
etc.  However, once I do 'mount -u -w /', everything disappears except
for root's ufsid.

Reverting this commit fixed the problem for me.

Jung-uk Kim
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.19 (FreeBSD)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org/

iEYEARECAAYFAk++oU4ACgkQmlay1b9qnVO2dQCfUT8+Z3pKORnH+htSgMUB7+un
TK8AnRvL5Oc4vOic1yvceJpyTD5YQOFK
=HEVp
-----END PGP SIGNATURE-----



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4FBEA14E.2060802>