bug-hurd
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Hiding nodes with unionmount


From: Carl Fredrik Hammar
Subject: Re: Hiding nodes with unionmount
Date: Thu, 30 Jul 2009 10:48:00 +0200
User-agent: Mutt/1.5.20 (2009-06-14)

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

[Prev in Thread] Current Thread [Next in Thread]