On Wed, Jul 05, 2006 at 01:39:14PM -0400, Josef Sipek wrote:
> On Wed, Jul 05, 2006 at 10:49:38AM -0400, David Quigley wrote:
> ...
> > /unionfs
> > |
> > |-union1
> > |   |- debug (18)
> > |   |- delete (all)
> > |   |- mountpoint (/mnt/unionfs)
> > |   |- branches (branch1,branch2)
> > |   |- branch1
> > |            | - path (/n/lower/b1)
> > |            | - mode (rw)
> > |   |- branch2
> > |            | - path (/n/lower/b2)
> > |            | - mode (ro)
> 
> This is very similar to what I proposed a while back as an interface thought
> sysfs. I would like two additions to this:
> 
> - per branch "remove" file, if you do:
> 
> echo 1 > /unionfs/union1/branch2/remove
> 
> it should remove branch2 from the union
> 
> - per unionfs "add" file:
> 
> echo "/some/dir/to/add ro" > /unionfs/union1/add
> 
> to add /some/dir/to/add to the union
> 
> I think these two ways of adding/removing branches is cleaner than your
> multi-step/syscall approach.

This is similar to the way many devices have "power" file in sysfs -
allowing you to turn them off.

Jeff.

-- 
A CRAY is the only computer that runs an endless loop in just 4 hours...
_______________________________________________
unionfs mailing list
[email protected]
http://www.fsl.cs.sunysb.edu/mailman/listinfo/unionfs

Reply via email to