Disk mounting in recent Linuxes

Poul-Henning Kamp phk at phk.freebsd.dk
Wed Nov 14 23:53:44 PST 2007


In message <20071115074647.GB80222 at garage.freebsd.pl>, Pawel Jakub Dawidek writ
es:

>The problem is that when you have two colliding providers (with the same
>name) you are already in very bad position, because no matter what you
>do you may end-up with system not booted properly.

Originally, I thought about disabling all colliding providers,
provided none of them were open, simply as a matter of prudence.

But that doesn't work for N reasons, the most important one being
that you may not be able to correct the situation if you can't get
at at least one of the colliding providers.

So the current semantics, as implemented by GEOM and DEVFS is that
all colliding providers appear, but if you try to open the shared
name, you get the first one all the time.

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk at FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.


More information about the freebsd-geom mailing list