Re: [PATCH] private mounts

From: Bryan Henderson
Date: Tue Apr 26 2005 - 12:12:16 EST


>> >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.
>
>I suppose it will be called by the login process or by wrappers like
>'nice'.

Just to be clear, then: this idea is fundamentally different from the
mkdir/cd analogy the thread starts with above. And it misses one rather
important requirement compared to mkdir/cd: You can't add a new mount to
an existing shell.

Several more complicated schemes that may achieve that are being discussed
in this thread.

--
Bryan Henderson IBM Almaden Research Center
San Jose CA Filesystems

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/