Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S262547AbVDYHPs (ORCPT ); Mon, 25 Apr 2005 03:15:48 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S262546AbVDYHPs (ORCPT ); Mon, 25 Apr 2005 03:15:48 -0400 Received: from cimice4.lam.cz ([212.71.168.94]:31648 "EHLO vagabond.light.src") by vger.kernel.org with ESMTP id S262529AbVDYHPg (ORCPT ); Mon, 25 Apr 2005 03:15:36 -0400 Date: Mon, 25 Apr 2005 09:14:48 +0200 From: Jan Hudec To: Jamie Lokier Cc: Al Viro , Miklos Szeredi , hch@infradead.org, linux-fsdevel@vger.kernel.org, linux-kernel@vger.kernel.org, akpm@osdl.org Subject: Re: [PATCH] private mounts Message-ID: <20050425071448.GB13975@vagabond> 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> <20050424214339.GD9304@mail.shareable.org> Mime-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="neYutvxvOLaeuPCA" Content-Disposition: inline In-Reply-To: <20050424214339.GD9304@mail.shareable.org> User-Agent: Mutt/1.5.9i Sender: linux-kernel-owner@vger.kernel.org X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1677 Lines: 50 --neYutvxvOLaeuPCA Content-Type: text/plain; charset=us-ascii Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Sun, Apr 24, 2005 at 22:43:39 +0100, Jamie Lokier wrote: > Al Viro wrote: > > On Sun, Apr 24, 2005 at 11:15:35PM +0200, Miklos Szeredi wrote: > > > No. You can't set "mount environment" in scp. > >=20 > > Of course you can. It does execute the obvious set of rc files. >=20 > It doesn't work for the specified use-scenario. The reason is that > there is no command or system call that can be executed from those rc > files to join an existing namespace. >=20 > He wants to do this: >=20 > 1. From client, login to server and do a usermount on $HOME/private. >=20 > 2. From client, login to server and read the files previously mounted. Ok, that almost can be done. All that is needed from kernel is an ability to mount bind from open directory handle instead of a path! The rest is doable in userland. ---------------------------------------------------------------------------= ---- Jan 'Bulb' Hudec --neYutvxvOLaeuPCA Content-Type: application/pgp-signature; name="signature.asc" Content-Description: Digital signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (GNU/Linux) iD8DBQFCbJjoRel1vVwhjGURAm4cAJ96DvKBIM00qtyWoro3zI7Iq+Q85QCg6Rzh 8VxNLVl5v6BAQv1I5MVRKuo= =P0IP -----END PGP SIGNATURE----- --neYutvxvOLaeuPCA-- - 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/