From mboxrd@z Thu Jan 1 00:00:00 1970 MIME-Version: 1.0 In-Reply-To: References: <201107021829.26860.dexen.devries@gmail.com> Date: Sat, 2 Jul 2011 11:23:02 -0700 Message-ID: From: Eli Cohen To: Fans of the OS Plan 9 from Bell Labs <9fans@9fans.net> Content-Type: multipart/alternative; boundary=0016365ee6b67e7f3204a71a39d6 Subject: Re: [9fans] novel userspace paradigms introduced by plan 9 Topicbox-Message-UUID: f92cea92-ead6-11e9-9d60-3106f5b1d025 --0016365ee6b67e7f3204a71a39d6 Content-Type: text/plain; charset=ISO-8859-1 I have used gentoo extensively and plan9 for a few years now as well, and this concept of "namespaces" for processes is a confusing but interesting concept. maybe you could use grsec to limit the access to gentoo's "file system" at a per-process level. This would be somewhat similar to what plan9 does, but you'd have to also find a good way to bind a directory elsewhere in the tree at a per-process level, unified with what was already there (aka, hopefully NOT like mount -o bind). This is only the tip of the iceberg; plan9 does this per-process filesystem namespacing to set up a good environment for a system which adheres to the orginal unix "philosophies" such as, everything has a "file" to represent it. linux does this well for data on the disk, device nodes, and whatever gets put in /proc. it does not do this, generally, for something like an email message. a good plan9 program, however, is likely to do this. as an example of the power of this concept, `% topng < /dev/screen > screenshot.png' will use the relatively simple program topng to convert the *file* /dev/screen into the *file* screenshot.png. One major difference is X11. In plan9, the system handles the graphics more directly. network export of windows is handled differently. it might be interesting to make a rio for linux which draws directly to /dev/fb0. Or it might be better to convert /dev/fb0 to a /dev/screen on linux, even in userspace, and then more or less use rio for plan9. performance might be an issue, but plan9 people are still waiting on 3d graphics if they even care enough to wait... -Eli On Sat, Jul 2, 2011 at 10:24 AM, Jack Johnson wrote: > On Sat, Jul 2, 2011 at 8:29 AM, dexen deVries > wrote: > > disclaimer: i'm not a plan 9 person for any viable value of `p9 person' > > I'm in the same boat, but I aspire to be in the other boat. :) > > -Jack > > --0016365ee6b67e7f3204a71a39d6 Content-Type: text/html; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable I have used gentoo extensively and plan9 for a few years now as well, and t= his concept of "namespaces" for processes is a confusing but inte= resting concept.=A0 maybe you could use grsec to limit the access to gentoo= 's "file system" at a per-process level.=A0 This would be som= ewhat similar to what plan9 does, but you'd have to also find a good wa= y to bind a directory elsewhere in the tree at a per-process level, unified= with what was already there (aka, hopefully NOT like mount -o bind).=A0 Th= is is only the tip of the iceberg; plan9 does this per-process filesystem n= amespacing to set up a good environment for a system which adheres to the o= rginal unix "philosophies" such as, everything has a "file&q= uot; to represent it.=A0 linux does this well for data on the disk, device = nodes, and whatever gets put in /proc.=A0 it does not do this, generally, f= or something like an email message.=A0 a good plan9 program, however, is li= kely to do this.
as an example of the power of this concept, `% topng < /dev/screen > = screenshot.png' will use the relatively simple program topng to convert= the file /dev/screen into the file screenshot.png.
One ma= jor difference is X11.=A0 In plan9, the system handles the graphics more di= rectly.=A0 network export of windows is handled differently.=A0 it might be= interesting to make a rio for linux which draws directly to /dev/fb0.=A0 O= r it might be better to convert /dev/fb0 to a /dev/screen on linux, even in= userspace, and then more or less use rio for plan9.=A0 performance might b= e an issue, but plan9 people are still waiting on 3d graphics if they even = care enough to wait...

-Eli

On Sat, Jul 2, 2011 at 10:24 AM,= Jack Johnson <k= napjack@gmail.com> wrote:
On Sat, Jul 2, 2011 at 8:29 AM, dexen deVries <dexen.devries@gmail.com> wrote:<= br> > disclaimer: i'm not a plan 9 person for any viable value of `p9 pe= rson'

I'm in the same boat, but I aspire to be in the other boat. :)
-Jack


--0016365ee6b67e7f3204a71a39d6--