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 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.
> >
> > Of course you can. It does execute the obvious set of rc files.
>
> 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.
>
> He wants to do this:
>
> 1. From client, login to server and do a usermount on $HOME/private.
>
> 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 <bulb@ucw.cz>
[unhandled content-type:application/pgp-signature]
\
 
 \ /
  Last update: 2005-04-25 09:19    [W:4.879 / U:0.020 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site