This is a *real* fast one this Time. Yesterday, I asked:
> To make Things short, I would like the Shell or something relative-
> ly "close" to it to virtually add the public Files from the corres-
> ponding public Directory whenever a User looks up his private Di-
> rectory, including any open-for-read. On VMS, this would be as sim-
> ple as defining a Logical with several Translations and using it in
> the Path. I seem to remember that there is something similar for
> Unix, but I can't remember the Name for the Life of me! And a Scan
> in the Latech Archive turned up nothing.
>
> This is for 4.1.2 (on sun4c's), and the Software which has to deal
> with this Stuff is partly C, partly csh Script; I could convert the
> latter to C quite easily, if necessary.
Seems I didn't make clear what I wanted. I thought of something like this:
user% cd ~/sub
user% ls
file1
user% ls ~main/sub
file2
user% cat ~main/sub/file2
Old Stuff
user% # Do Magic
user% ls ~main/sub
file2
user% ls
file1 file2
user% cat file2
Old Stuff
user% cat - > file3
New Stuff
user% cp file3 file2
user% cat file2
New Stuff
user% ls ~main/sub
file2
user% cat ~main/sub/file2
Old Stuff
The $ 1,000,000 Answer (and the Thing which haunted my Memory) is:
TRANSLUCENT FILE SYSTEM (TFS)
which is Part of SunOS 4.x. Thanks to odt@dingy.cc.bellcore.com,
louis@andataco.com (Louis M. Brune), David Fetrow
<fetrow@biostat.washington.edu>, steve@gec-epl.co.uk (Steve_Kilbane),
Mike Raffety <miker@il.us.swissbank.com>.
Only Drawback: The Magic occurs where the low-Prio Dir used to be (~main/sub
in the Example above), not over ~user/sub, but I can counter this with TFS's
Capability to do more than 2 Levels; I'll overlay the real private Dir over
the public Dir over a Dummy private Dir.
Other Ideas:
Anthony Baxter <anthony@aaii.oz.au>: Use Prospero, it's a Package for virtual
FSes. (I'll have a Look at it, thanks.)
hushing@gdwest.gd.com (Sumner Hushing), David Fetrow
<fetrow@biostat.washington.edu>: Use symbolic Links. (Sorry, that's
not it!)
louis@andataco.com (Louis M. Brune): Apart from TFS, you might write your own
open() Replacement. (Yes, but it's for the C Programs only.)
Piete.Brooks@cl.cam.ac.uk: Automounter does this. (I didn't check this out.)
steve@gec-epl.co.uk (Steve_Kilbane) noted that SUN might drop TFS in the
Future; Another Reason for me NOT to go Solaris!
Thanks to you all,
J. Bern
This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:08:20 CDT