Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 12 Oct 2010 22:01:24 +0200
From:      Stefan Bethke <stb@lassitu.de>
To:        Kevin Oberman <oberman@es.net>
Cc:        stable@freebsd.org, Pawel Jakub Dawidek <pjd@FreeBSD.org>
Subject:   Re: Label question...why does ufs label vanish on mount?
Message-ID:  <BFE34769-8E27-47C6-A3B1-734CE5A0806D@lassitu.de>
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
Am 12.10.2010 um 20:51 schrieb Kevin Oberman:

> 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.

In 8, only the ones that are not mounted are removed; they are restored =
on unmount.  So when you mount the filesystem via it's label, that entry =
continues to exist.  And it's not limited to any particular label type, =
I've noticed the same with partitions that I used gmirror on.

IIRC, in 7 only the device entry remained, and all label entries were =
removed on mount.

> Is there a good reason for this odd behavior of UFS? If there is not a
> good reason, could it be changed?

I don't know, but I'm curious myself. When I asked this very question =
some time ago, I didn't get a response.


Stefan

--=20
Stefan Bethke <stb@lassitu.de>   Fon +49 151 14070811






Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BFE34769-8E27-47C6-A3B1-734CE5A0806D>