Hi,

On Thu, Jul 30, 2009 at 10:14:06AM +0200, Arne Babenhauserheide wrote:
> Would it be possible to hide a node via unionmount? 
> 
> For example I might want to remove a file from the underlying node when I 
> replace it with a new but differently named one (i.e. lib.so.1 -> lib.so.3). 

Not really.  The main problem is knowing which file to be filtered out.
You would need to supply a list of files to exclude, which would
unnecessarily complicate unionmount IMHO.

A cleaner solution would be to first mount a hypothetical ``filterfs''
that removes the files, and then do a unionmount on top of that.  Also you
could just simply set a lib.so.1 -> lib.so.3 symlink in the mountee, which
would shadow the underlying lib.so.1.

Regards,
  Fredrik


Reply via email to