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>
index | next in thread | previous in thread | raw e-mail
[-- Attachment #1 --] On 12.10.2010 22:51, Kevin Oberman wrote: > For some reason the /dev/ufs/label entry that geom creates for every UFS > 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. > > 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. -- WBR, Andrey V. Elsukov [-- Attachment #2 --] -----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-----home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?4CB53BF7.1020408>
