J.P. King wrote:
>> Wow, that a neat idea, and crazy at the same time. But the mknod's minor
>> value can be 0-262143 so it probably would be doable with some loss of
>> memory and efficiency. But maybe not :) (I would need one lofi dev per
>> filesystem right?)
>>
>> Definitely worth remembering if I need to do something small/quick.
> 
> You're confusing lofi and lofs, I think.  Have a look at man lofs.
> 
> Now all _I_ would like is translucent options to that and I'd solve one of 
> my major headaches.

Check ast-open[1] for the 3d command that implements the nDFS, or 
multiple dimension file system, allowing you to overlay directories.
The 3d [2] utility allows you to run a command with all file system
calls intercepted.

Any writes will go into the top level directory, while reads pass
though until a matching file is found.

system calls are intercepted by an  LD_PRELOAD library, so each
process can have its own settings.


[1] http://www.research.att.com/~gsf/download/gen/ast-open.html
[2] http://www.research.att.com/~gsf/man/man1/3d.html
_______________________________________________
zfs-discuss mailing list
zfs-discuss@opensolaris.org
http://mail.opensolaris.org/mailman/listinfo/zfs-discuss

Reply via email to