[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Personalized Filesystem (was: Hiding nodes with unionmount)
From: |
Sergiu Ivanov |
Subject: |
Re: Personalized Filesystem (was: Hiding nodes with unionmount) |
Date: |
Tue, 18 Aug 2009 10:55:53 +0300 |
User-agent: |
Mutt/1.5.16 (2007-06-09) |
Hello,
On Mon, Aug 17, 2009 at 06:07:20AM +0200, olafBuddenhagen@gmx.net wrote:
> On Thu, Jul 30, 2009 at 09:26:11PM +0200, Arne Babenhauserheide wrote:
>
> > Is it possible to just unionmount / on another node and then chroot to
> > it?
>
> Yes, that should work:
>
> settrans myroot unionfs / --mount overlay && chroot myroot
I can confirm that his works with my testing translator for
``overlay''. There is an issue, however: when I do ``chroot myroot''
it hangs, so I have to hit ^C, which brings me to the chrooted
environment. I don't have any idea as to why it happens like this,
but I hope it won't be too hard to solve this problem.
> (BTW, this is an obvious use case for union-mounting with something
> different than the underlying node -- why didn't I see this before? I'm
> glad now that we decided to go with the --mount option to unionfs: it's
> so much more powerful than a "pure" unionmount :-) )
I finally changed my opinion to like the ``--mount'' option, too :-)
Initially, I considered that such implementation was a temporary
measure, but now I can see that it was a wise decision to choose this
route.
Also, by stating this, we actually approach the answer to one of the
fundamental questions: where unionmount should live. It is clear now
that keeping unionmount in the same repository with unionfs should be
okay.
Regards,
scolobb