Current status of nullfs and/or unionfs?

Danny Braniss danny at cs.huji.ac.il
Fri May 6 04:14:46 PDT 2005


> On 06-05-05 09:25, "Danny Braniss" <danny at cs.huji.ac.il> wrote:
> 
> > 
> >> Interesting approach. Is this with 4.x or 5.x? How do you union-mount /etc
> >> (mount command/fstab entry)?
> >> 
> > 
> > been doing it since 4.x (i think x < 9)
> 
> Any idea how unionfs will behave if stacked (more mounts on top of each
> other)? I was playing with the thought of having a "template" jail directory
> which I unionmount into my jails, then perhaps use your trick to union-mount
> a md device into certain points in the jail. Got a gut feeling about that?

i have the feeling that that will get into trouble :-), but im no expert
here. If what you mean is:

	mount_unionfs /md-0 /jail-0
and then 
	mount_unionfs /md-1 /jail-0/xyz

which is not strickly 'stacked', might work and should be easy to try out, but
IMHO, breaks the KISS principle :-)

and also, im not sure if:
	mkdir /jail-0/xyz
	mount_unionfs /md-1 /jail-0/xyz
is the same as the above.

danny




More information about the freebsd-stable mailing list