Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 25 Sep 2008 18:42:45 -0500
From:      "David Polak" <me@davidpolak.com>
To:        "'Nejc S\(koberne'" <nejc@skoberne.net>
Cc:        freebsd-questions@freebsd.org
Subject:   RE: mount_unionfs for jails
Message-ID:  <006c01c91f68$69ebf120$3dc3d360$@com>
In-Reply-To: <48DC1AE4.9000108@skoberne.net>
References:  <005401c91f35$3cf09fa0$b6d1dee0$@com>	<48DBF589.3030906@skoberne.net>	<006b01c91f5a$83c8c360$8b5a4a20$@com> <48DC1AE4.9000108@skoberne.net>

next in thread | previous in thread | raw e-mail | index | archive | help
> -----Original Message-----
> From: owner-freebsd-questions@freebsd.org [mailto:owner-freebsd-
> questions@freebsd.org] On Behalf Of Nejc S(koberne
> Sent: Thursday, September 25, 2008 6:13 PM
> To: David Polak
> Cc: freebsd-questions@freebsd.org
> Subject: Re: mount_unionfs for jails
> 
> Hello,
> 
> > Well, it turns out that my problem was due to a typo in my host
> systems
> > rc.conf.
> 
> Thought so.
> 
> > Do you know if there is a way to "reset" the unionfs? I did notice
> this:
> 
> It is called "whiteout". When you delete the file which is on lower
> layer
> in unionfs, you actually create a file of type "whiteout" on the upper
> layer,
> which tells you that the file is not there. So it is a mark for a
> deleted file.
> To "reset" it, you just need to delete the whiteout. You can do this
> via
> "rm -W". Actually whiteouts seem to be a nice solution but sometimes
> you'll
> run into interesting problems. When you try to upgrade jails, for
> example.
> Also, the problem is, because very few programs "support" whiteouts,
> for
> example "find" utility doesn't know about them, so you have to
> reimplement
> it (we made a shell script).
> 
> We have created a lot of scripts which can do a lot of stuff with jails
> and
> unionfs on our server. If you are interested, let me know.
> 
> HTH,
> Nejc

It would be much appreciated, thank you.





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?006c01c91f68$69ebf120$3dc3d360$>