Re: Mount groups

From: Erik Dalén <dalen_at_nospam.org>
Date: Sat Mar 06 2004 - 16:03:20 PST

Andy Valencia From: wrote:
> =?ISO-8859-1?Q?Erik_Dal=E9n?= <dalen@jpl.se> writes:

>>It would be very useful if vsta supported mount groups ala plan9. So a
>>new process can either share the same namespace as the parent, have a
>>copy of it or a clean one.
>>It would make it possible to mount things into other processes name spaces.
>
>
> Ok, but what problem are you trying to solve with this?
>
the need to have a mount command builtin to loads of apps.
Imagine if something like gnome was started with the current vsta and
you want to mount a cd. then around 10 apps would have to mount it
individually.

but having support for it would also be useful for shell things. it's
pretty annoying to not be able to change the namespace of a running app
unless it has a builtin mount command.

> I don't see how an mtab server helps, since clearly you can pull your
> mount table from it at some defined time (like, at process startup) but
> how do you know to go back to it subsequently?
>
> And I can imagine ways to make this work (polling, signals, whatever) but
> I still don't see the high level problem which would justify this much
> baggage?

you could just read it every time you need it. would require a few more
context switches every time a file is opened though.

/Erik
Received on Sun, 07 Mar 2004 01:03:20 +0100

This archive was generated by hypermail 2.1.8 : Tue Sep 26 2006 - 09:03:09 PDT