Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 06 May 2005 13:20:19 +0200
From:      Eirik =?ISO-8859-1?B?2A==?=verby <ltning@anduin.net>
To:        Danny Braniss <danny@cs.huji.ac.il>
Cc:        stable@freebsd.org
Subject:   Re: Current status of nullfs and/or unionfs? 
Message-ID:  <BEA11F93.14A55%ltning@anduin.net>
In-Reply-To: <E1DU0n4-0004uf-0J@cs1.cs.huji.ac.il>

next in thread | previous in thread | raw e-mail | index | archive | help
On 06-05-05 13:14, "Danny Braniss" <danny@cs.huji.ac.il> wrote:

>> On 06-05-05 09:25, "Danny Braniss" <danny@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 :-)

I was more thinking, like,
mount_unionfs -b /jails/jail_template /jails/jail-0
mount_unionfs /md-0 /jails/jail-0/etc
for example.

I could also imagine stacking unionfs on top of nullfs, like
mount_nullfs /cdrom/jail_template /jails/jail-0
mount_unionfs /md-0 /jails/jail-0
alternatively
mount_unionfs /nfs-0 /jails/jail-0

Sounds weird, I know, but we could use it...

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




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?BEA11F93.14A55%ltning>