Re: [PATCH] private mounts

Miklos Szeredi
2005-04-25T09:59:23Z

> > Don't think so. ftp server and sftp server sure as hell don't.
>
> Sftp sure *DOES*. It is invoked by shell, which is not run as login one,
> but even non-login shell sources an rc file.

You win :)

> > However if you write me a script that reads my mind as to which server
> > I want to mount with sshfs at which time, I give you all my respect.
>
> I can't write a script that reads your mind. But I sure can write
> a script that finds out what you mounted in the other shells (with help
> of a little wrapper around the mount command).

How do you bind mount it from a different namespace? You _do_ need
bind mount, since a new mount might require password input, etc...

Thanks,
Miklos