Re: Need a "virtual directory"

Pavel Machek (pavel@elf.ucw.cz)
Thu, 23 Apr 1998 22:50:50 +0200


hi!

> > I am searching a solution in order to have the following situation:
> >
> > ----------------------------------------------------
> > Consider two users A and B.
> >
> > When A makes a "cd /virtual/src", he goes in /src/A.
> > When B makes a "cd /virtual/src", he goes in /src/B.
> > (this needs to work also when doing things like
> > "open(/virtual/src/mystuff.c)" )
> > ----------------------------------------------------

What is it good for?

> > This means that /virtual/src is a symbolic link, but a different symbolic
> > link whose destination is depending on the user (user name, or
> > some environment variable, whatever)
>
> I believe the userfs package (user-space filesystems) includes
> a filesystem called "homer" (I think) that will do this kind of thing
> for you. Not sure if userfs will work in 2.1 kernels yet, but it
> should be fine if you're using a 2.0. You can find it on most sunsite
> mirrors.

I hope I'm going to make userfs obsolete by podfuk. You can get
pre-pre-pre alpha of podfuk from
http://atrey.karlin.mff.cuni.cz/~pavel/podfuk/podfuk.html. You will
not be able to patch it as webserver went crazy (mj promised to fix it
tommorow :-))).

Afaik, userfs is not yet supported in 2.1.X.

Pavel

-- 
I'm really pavel@atrey.karlin.mff.cuni.cz. 	   Pavel
Look at http://atrey.karlin.mff.cuni.cz/~pavel/ ;-).

- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu