lkml.org 
[lkml]   [2005]   [Apr]   [25]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    Date
    From
    SubjectRe: [PATCH] private mounts
    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 <bulb@ucw.cz>
    [unhandled content-type:application/pgp-signature]
    \
     
     \ /
      Last update: 2005-04-25 09:15    [W:3.345 / U:0.376 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site