Date: Wed, 13 Oct 2010 08:56:23 +0400 From: "Andrey V. Elsukov" <bu7cher@yandex.ru> To: Kevin Oberman <oberman@es.net> Cc: stable@freebsd.org Subject: Re: Label question...why does ufs label vanish on mount? Message-ID: <4CB53BF7.1020408@yandex.ru> In-Reply-To: <20101012185100.5AA661CC3E@ptavv.es.net> References: <20101012185100.5AA661CC3E@ptavv.es.net>
next in thread | previous in thread | raw e-mail | index | archive | help
This is an OpenPGP/MIME signed message (RFC 2440 and 3156) --------------enigC1A4F11AA08037FC23B7932B Content-Type: text/plain; charset=KOI8-R Content-Transfer-Encoding: quoted-printable On 12.10.2010 22:51, Kevin Oberman wrote: > For some reason the /dev/ufs/label entry that geom creates for every UF= S > formatted partition is deleted when the device is mounted. This is not > the case for other file systems, though I have not tried them all. It > makes the drive much harder to deal with when you have to keep track of= > which physical drive contains the labeled media. It is a particular > issue for hald and the tools which depend on it. >=20 > Is there a good reason for this odd behavior of UFS? If there is not a > good reason, could it be changed? When you are opening provider for writing (i.e. mount FS) GEOM(4) initiates SPOILING and all consumers that are attached to this provider except one will self-destroyed. When you are closing provider GEOM(4) initiates TASTING and consumers can return back. Look at man 4 geom for details. --=20 WBR, Andrey V. Elsukov --------------enigC1A4F11AA08037FC23B7932B Content-Type: application/pgp-signature; name="signature.asc" Content-Description: OpenPGP digital signature Content-Disposition: attachment; filename="signature.asc" -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.10 (MingW32) iQEcBAEBAgAGBQJMtTv9AAoJEAHF6gQQyKF66ZEH/A2D4L8Mf6uWzcUHdGpMRHUa yTnh4LdH3npUEgLByGFEe2V1n431XfTiSRrekJTmJuYH8takN21Q40/yWSIqdJ7t dqefJhDiMEsz2nIhUIME3tc5PkizQ8mMkSkVNu5k4YtiPn8+tCZ4iIaHUjt17u2c laVpQFW+dp+kZkJInT9fWjRPsKFGUIXYePbJlo/c6zRwEJV7UNK2GhMA0/vXrf4I 5NbgTJ4VpgoWMkoSg3sR4gxS7az+bUxTZE0Kzik2BWjonh/tYHUkplDo3B6GronM 3qYnEyKCYFlMHa1iHucsIi+LdBQ7ZWDOQW4BXnJMoToPexE1W3pwJFAZmARuIiA= =N5w5 -----END PGP SIGNATURE----- --------------enigC1A4F11AA08037FC23B7932B--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CB53BF7.1020408>