Why does the contents of /dex/ufs disappear after going multiuser?

Pawel Jakub Dawidek pjd at FreeBSD.org
Wed Oct 19 23:42:06 PDT 2005


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,
+> +> 
+> +> I have labeled some file systems. The labels show up in /dev/ufs when booting 
+> +> single user. But after booting multi user /dev/ufs is empty. /dev/msdosfs 
+> +> keeps its contents. Very strange...
+> +> 
+> +> It's 6.0-RC1.
+> 
+> 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.

-- 
Pawel Jakub Dawidek                       http://www.wheel.pl
pjd at FreeBSD.org                           http://www.FreeBSD.org
FreeBSD committer                         Am I Evil? Yes, I Am!
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 187 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20051020/ec4c966f/attachment.bin


More information about the freebsd-geom mailing list