[lkml]   [2005]   [Apr]   [26]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
Messages in this thread
SubjectRe: [PATCH] private mounts
On Mon, Apr 25, 2005 at 12:02:43 -0700, Bryan Henderson wrote:
> >mknamespace -p users/$UID # (like mkdir -p)
> >setnamespace users/$UID # (like cd)
> ^^^^^^^^
> You realize that 'cd' is a shell command, and has to be, I hope. That
> little fact has thrown a wrench into many of the ideas in this thread.

You don't want to have such command, really! What you want is a PAM
module, that looks whether there is already a session for that user and
switches to it's namespace, if it does. Remember that it's namespace
- it can be first created, then attached and then populated with mounts.

Jan 'Bulb' Hudec <>[unhandled content-type:application/pgp-signature]
 \ /
  Last update: 2005-04-26 11:02    [from the cache]
©2003-2014 Jasper Spaans. hosted at Digital Ocean