On Sun, Apr 24, 2005 at 23:29:22 +0200, Miklos Szeredi wrote: > > On Sun, Apr 24, 2005 at 11:15:35PM +0200, Miklos Szeredi wrote: > > > No. You can't set "mount environment" in scp. > > > > Of course you can. It does execute the obvious set of rc files. > > 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. > > > Otherwise your analogy is nice, but misses a few points. The usage of > > > mounts that we are talking about is much more dynamic than usage of > > > environment variables. > > > > What the hell are you smoking and just how are you using shell? > > Maybe differently from you :). It's not that often that I have to > tweak environment variables. They are usually set by scripts. > > 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). ------------------------------------------------------------------------------- Jan 'Bulb' Hudec <[email protected]>
Attachment:
signature.asc
Description: Digital signature
- Follow-Ups:
- Re: [PATCH] private mounts
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] private mounts
- References:
- [PATCH] private mounts
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] private mounts
- From: Christoph Hellwig <[email protected]>
- Re: [PATCH] private mounts
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] private mounts
- From: Al Viro <[email protected]>
- Re: [PATCH] private mounts
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] private mounts
- From: Al Viro <[email protected]>
- Re: [PATCH] private mounts
- From: Miklos Szeredi <[email protected]>
- Re: [PATCH] private mounts
- From: Al Viro <[email protected]>
- Re: [PATCH] private mounts
- From: Miklos Szeredi <[email protected]>
- [PATCH] private mounts
- Prev by Date: Re: [PATCH] private mounts
- Next by Date: Re: [PATCH] private mounts
- Previous by thread: Re: [PATCH] private mounts
- Next by thread: Re: [PATCH] private mounts
- Index(es):