Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 20 Oct 2005 08:41:44 +0200
From:      Pawel Jakub Dawidek <pjd@FreeBSD.org>
To:        "Frank J. Beckmann" <frank@barda.agala.net>
Cc:        freebsd-geom@freebsd.org
Subject:   Re: Why does the contents of /dex/ufs disappear after going multiuser?
Message-ID:  <20051020064144.GD19624@garage.freebsd.pl>
In-Reply-To: <20051020063455.GB19624@garage.freebsd.pl>
References:  <200510200216.22909.frank@barda.agala.net> <20051020063455.GB19624@garage.freebsd.pl>

next in thread | previous in thread | raw e-mail | index | archive | help

--KdquIMZPjGJQvRdI
Content-Type: text/plain; charset=iso-8859-2
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Thu, Oct 20, 2005 at 08:34:55AM +0200, Pawel Jakub Dawidek wrote:
+> On Thu, Oct 20, 2005 at 02:16:21AM +0200, Frank J. Beckmann wrote:
+> +> Hi,
+> +>=20
+> +> I have labeled some file systems. The labels show up in /dev/ufs when=
 booting=20
+> +> single user. But after booting multi user /dev/ufs is empty. /dev/msd=
osfs=20
+> +> keeps its contents. Very strange...
+> +>=20
+> +> It's 6.0-RC1.
+>=20
+> If you mount file system read-write, label will be removed from /dev/.

Just to clarify:

If you mount file system read-write using its disk/slice/paritition name,
not its label.

Bascially, /dev/ufs/<label> is created on top of /dev/<partition>, so when
you open /dev/<partition> to write, GEOM sends an event that metadata may
be changed (the spoil event) and I should remove all providers created by
using those metadata. And this is what I do.

--=20
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd@FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!

--KdquIMZPjGJQvRdI
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.4.2 (FreeBSD)

iD8DBQFDVzwoForvXbEpPzQRAsV9AJ99GINGpHkbXtEWRQlfevA7yrbEwwCg4VWE
vq8MaYs1IR1ckqNsOlqiB48=
=j5b1
-----END PGP SIGNATURE-----

--KdquIMZPjGJQvRdI--



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