Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262576AbVDYJ7X (ORCPT ); Mon, 25 Apr 2005 05:59:23 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262573AbVDYJ7W (ORCPT ); Mon, 25 Apr 2005 05:59:22 -0400 Received: from rev.193.226.232.93.euroweb.hu ([193.226.232.93]:12955 "EHLO dorka.pomaz.szeredi.hu") by vger.kernel.org with ESMTP id S262571AbVDYJ7R (ORCPT ); Mon, 25 Apr 2005 05:59:17 -0400 To: bulb@ucw.cz CC: viro@parcelfarce.linux.theplanet.co.uk, hch@infradead.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, akpm@osdl.org In-reply-to: <20050425071047.GA13975@vagabond> (message from Jan Hudec on Mon, 25 Apr 2005 09:10:47 +0200) Subject: Re: [PATCH] private mounts References: <20050424201820.GA28428@infradead.org> <20050424205422.GK13052@parcelfarce.linux.theplanet.co.uk> <20050424210616.GM13052@parcelfarce.linux.theplanet.co.uk> <20050424211942.GN13052@parcelfarce.linux.theplanet.co.uk> <20050425071047.GA13975@vagabond> Message-Id: From: Miklos Szeredi Date: Mon, 25 Apr 2005 11:58:50 +0200 Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 944 Lines: 24 > > 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 - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/