From owner-freebsd-stable@FreeBSD.ORG Wed Oct 13 05:12:07 2010 Return-Path: Delivered-To: stable@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id A6398106564A for ; Wed, 13 Oct 2010 05:12:07 +0000 (UTC) (envelope-from bu7cher@yandex.ru) Received: from forward5.mail.yandex.net (forward5.mail.yandex.net [77.88.46.21]) by mx1.freebsd.org (Postfix) with ESMTP id 521F08FC08 for ; Wed, 13 Oct 2010 05:12:07 +0000 (UTC) Received: from smtp2.mail.yandex.net (smtp2.mail.yandex.net [77.88.46.102]) by forward5.mail.yandex.net (Yandex) with ESMTP id 7562314D01FB; Wed, 13 Oct 2010 08:56:29 +0400 (MSD) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=yandex.ru; s=mail; t=1286945789; bh=iCwd+5lTZ/ULQa+DKWLknWGUt0+S82h5CBSJ1C49iTI=; h=Message-ID:Date:From:MIME-Version:To:CC:Subject:References: In-Reply-To:Content-Type; b=cgi50sz9+HWnfo990LDWy8AeMiG2KPtW/Vj2/uh5k6/tq3tIy/VVDw7kjF8VywMu9 CZFDlwRsXWpUSktVI/pxe4s5PrdsNM3kh0gT9ueA01R9A0CFfXf5ZkxlPXVncLjwm/ SKZJzZV7iRHKtHVblcbxFpHPEk5AogL4ub8S7o5w= Received: from [127.0.0.1] (mail.kirov.so-cdu.ru [77.72.136.145]) by smtp2.mail.yandex.net (Yandex) with ESMTPSA id 4191152809A; Wed, 13 Oct 2010 08:56:29 +0400 (MSD) Message-ID: <4CB53BF7.1020408@yandex.ru> Date: Wed, 13 Oct 2010 08:56:23 +0400 From: "Andrey V. Elsukov" User-Agent: Mozilla Thunderbird 1.5 (FreeBSD/20051231) MIME-Version: 1.0 To: Kevin Oberman References: <20101012185100.5AA661CC3E@ptavv.es.net> In-Reply-To: <20101012185100.5AA661CC3E@ptavv.es.net> X-Enigmail-Version: 1.1.1 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="------------enigC1A4F11AA08037FC23B7932B" X-Yandex-TimeMark: 1286945789 X-Yandex-Spam: 1 X-Yandex-Front: smtp2.mail.yandex.net Cc: stable@freebsd.org Subject: Re: Label question...why does ufs label vanish on mount? X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 13 Oct 2010 05:12:07 -0000 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--