From mboxrd@z Thu Jan 1 00:00:00 1970 Message-ID: Date: Fri, 17 Dec 2004 09:56:53 -0500 From: Russ Cox To: Karl Magdsick , Fans of the OS Plan 9 from Bell Labs <9fans@cse.psu.edu> Subject: Re: [9fans] Acme mailreader - now: User mode filesystems in linux In-Reply-To: Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit References: <3e1162e6041216070874f424e5@mail.gmail.com> <9ccf822edf0a9a77c141ae47312638dd@collyer.net> <20041217102526.0b64d965.martin_ml@parvat.com> <20041217152456.3f377069.martin_ml@parvat.com> Cc: Topicbox-Message-UUID: 1a02abca-eace-11e9-9e20-41e7f4b1d025 > [Lots of good arguments] You're stuck with the operating system you have, not the operating system you'd like to have. If one were designing the system from scratch one could always do better. Sadly this Coda discussion is about how to deal with what's already available on Unix. > I don't have much knowledge of/experience with Plan9, but I've read > that the system is designed so that it's very easy to port drivers > between user-space and kernel-space. Is this correct? No, it's not. It's not hard (I can't think of any system-level programming task I'd characterize as "hard" using Plan 9) but it's not trivial either. > In a "standard" setup, how many of the drivers are (mostly) in user-space? Anything that touches hardware is typically in the kernel, though in the case of particularly complicated hardware (like vga and usb), the kernel part just makes it possible for user-mode programs to get at the hardware and do the complicated stuff. On the other hand, file system drivers are typically outside the kernel, and the network and graphics devices have moved back and forth a few times. Russ