Why does the contents of /dex/ufs disappear after going
multiuser?
Frank J. Beckmann
frank at barda.agala.net
Thu Oct 20 06:23:22 PDT 2005
Hi,
am Donnerstag, 20. Oktober 2005 08:41 schrieb Pawel Jakub Dawidek:
> 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.
Thank you, now it is clear. I like labels, it reminds me of the easy disk
handling of my old Amiga.
--
Frank
-------------- next part --------------
A non-text attachment was scrubbed...
Name: not available
Type: application/pgp-signature
Size: 479 bytes
Desc: not available
Url : http://lists.freebsd.org/pipermail/freebsd-geom/attachments/20051020/4ba6dcf8/attachment.bin
More information about the freebsd-geom
mailing list