8 ms·
Plan 9 from Bell Labs (1995)
- jfb 14y agoI wish it had stuck. In a related vein, I idly wonder if there's a project around intended to bring useful security to a practical Unix derivative. Nobody uses a big timesharing box any longer (for all reasonable definitions of nobody); and the protections mooted to keep "users" away from "wheel" are basically pointless and counterproductive in a world where attacks come from outside. Apple's code-signing is one reaction to this new reality; what's the current status of capability based systems?
- stonnyfrogs 14y agoah. You don't seem understand plan 9 OR capabilities. Cool.
- deno 14y agoYou can do quite a bit in Linux with CGroups and SELinux. Projects making good use of those are Fedora, Systemd and Chromium browser.
- jfb 14y agoI'll check it out. Next up, doing away with POSIX.
- jff 14y agoPOSIX defines a pretty good framework, which is why Plan 9 is POSIX-ish. They changed things that they thought needed improvement. I just wanted to point out that doing away with POSIX merely to do away with POSIX isn't necessarily wise; if you don't have a better idea to use instead, you'll just end up reimplementing much of POSIX under another name.
- wmf 14y agohttp://www.cl.cam.ac.uk/research/security/capsicum/ http://www.cl.cam.ac.uk/research/security/capsicum/
- rbanffy 14y ago> the protections mooted to keep "users" away from "wheel" are basically pointless and counterproductive in a world where attacks come from outside. Attacks may come from the outside, but they usually exploit code running on the target. IIRC, Apparmor is an implementation of what you seek - an easy way to limit what any given executable can do, in addition to what its process credentials can do.
- mseepgood 14y agoThe linked text is from the 90s. Not exactly news. But Plan 9 was a big improvement over Unix. Unfortunately, good things are often ignored.
- sp332 14y agoA lot of the ideas in Plan 9 were ported to Linux. UTF-8, the /proc filesystem, and the idea of union filesystems. Also Plan 9 is arguably better because of what's not in it http://c2.com/cgi/wiki?WhatIsNotInPlanNine http://c2.com/cgi/wiki?WhatIsNotInPlanNine
- 4ad 14y ago/proc in Linux is nothing like /proc in Plan 9 though. Not only that the exported files are completely different conceptually and in their internal format, but on Linux I can't bind /proc from another box and do remote debugging with tools that know nothing about where the process runs. Also Linux union mounts are clunky and not as useful as they are in Plan 9 because you can't have private namespaces if you are not root.
- juan_juarez 14y ago> Unfortunately, good things are often ignored ...which is why we're still using Unix.
- specto 14y agoOne of my friends from University developed quite a bit for Plan 9. It's nostalgic to see this again.
- f2f 14y agowhat university was that?
- scarmig 14y agoLet me know when they release a decent editor for it...
- gchpaco 14y agoSam and acme are both very good; they're weird, certainly, and very different from editors before and since but they are quite nice to work in. At least the equal of vi.
- bediger4000 14y agoI tried very seriously to use Sam instead of vi. My main criticism of it is that you have to be a pixel-perfect mouse acrobat to use it efficiently. I'm not pixel-perfect. I couldn't use the graphical parts of Sam, and that kind of negated all the rest of it. It did have some very interesting (to me, as a programmer) ways of doing things, including structural regular expressions.
- mcguire 14y ago"My main criticism of it is that you have to be a pixel-perfect mouse acrobat to use it efficiently." That was my major complaint about Plan 9 in general. As far as I could tell, it really wanted me to run with a one-handed keyboard and mouse. ...that plus the fact that Bell Labs invented "Not Invented Here" Syndrome.
- catenate 14y agoSam and acme do away with almost all the cursor movement commands and keystrokes of other editors, and replaces them with the mouse (to move the cursor around, just point and click, simpler and faster) and structured regular expressions (to select text segments in a document, then run commands across just those). They even use mouse chords for common operations such as cut, paste, and run a command, which are so muscle-memory to me now they don't interrupt my stream of thought.
- gchpaco 14y ago
- jff 14y agoPlan 9 pops up on the front page from time to time, and I see a lot of people expressing a lot of misconceptions about it. I know there are at least 2 or 3 other Plan 9 users on this site, and they help try to clear up some of the questions. I've done quite a bit of poking around in Plan 9, but of course I don't know all of it. I've hacked in the kernel and worked on the 64-bit version as well, I've fooled with the compilers, and I've hacked on the window manager. If anyone wants to ask questions about some aspect of Plan 9, I'll do my best to answer--and if I can't, I bet others can jump in and take over. It would be great to clear up some of the misconceptions, myths, and FUD!
- zheng 14y agoOk, first question, why aren't we all using Plan 9 instead of a linux-based OS? Maybe more importantly, what could the next upstart kernel/OS do different than Plan 9 if it wants to be more successful?
- mhurron 14y ago> why aren't we all using Plan 9 Plan 9 wasn't always free. Also, its GUI sucks. That's sort of important for end users.
- 4ad 14y agoI don't use Plan 9 much because it lacks a modern web browser, though I miss it dearly. I get some comfort on Linux and Mac OS X by using Russ Cox's excellent port of the Plan 9 tools to Unix[1]. To me, the most important Plan 9 tool is of course, the editor, Rob Pike's acme[2]. [1] http://swtch.com/plan9port/ http://swtch.com/plan9port/ [2] http://acme.cat-v.org/ http://acme.cat-v.org/
- Arelius 14y agoCould you talk about the editor? Without knowing the editor specifically, it'd would seem at a severe disadvantage to either editors with much large communities (vi, emacs) or editors that are much more modern (textmate, sublime?).
- codgercoder 14y agoAnd the relationship to Inferno is...?
- catenate 14y agoInferno is kind of like Plan 9 running on a VM, with its own peculiarites like a really nice shell language. Having a VM, versus integrating with the host os like plan9port or cygwin, lets you use new features of the os like directory binding and the /env directory of shell variables. There's an os command to run programs on the underlying host, be it windows, windows with cygwin, or linux.
- bbguitar 14y agoPhew, Nostalgia indeed. I looked a Plan 9 back in late 90's when we were doing research for alternative OS's and ways of sharing stuff securely across a network without the cruft of DFS... It had a lot of promise. What did become of it I wonder?
- dleimbach 14y agoCoraid ships ATA over ethernet storage based on Plan 9. Bell Labs still uses plan 9 internally and develops it. 9front is a community fork of Plan 9 with a bunch of interesting changes. There's a small but interested community of die-hard plan 9'ers that care about it, and the principles it set forth. A lot of it came from some very good, very sane development with people who often spend more time thinking than coding (a virtue we could all benefit from I think)
- rjzzleep 14y agoit's a shame the first paragraph is exactly what we're once again moving away from. all hail cloud computing
- krevmax 14y agoReading through the archives of the Plan 9 mailing list at http://9fans.net/archive http://9fans.net/archive you can follow along with the progress of Linux and the web as they completely displaced and then decimated operating systems research, culminating in famous Pike's utah2000 paper. You see each casual user show up on the mailing list demanding "modern" features, arguing about the license, screeching about security "holes" they don't understand, before, ultimately, declaring that they are retreating to Linux (or, later, Mac OSX), where at least they can play Flash games and login to turbotax.com and watch Youtube videos.
- obsidian123 14y agoI sent an email to Bell Labs a couple of weeks ago suggesting that Plan 9 be released as "public domain" code. I even suggested that this could be a great way to honour the late Dennis Ritchie (who worked there, of course), getting the code "out there" for all and sundry to use, no strings attached. Unfortunately, I didn't get a reply, so I guess the email was deleted without being read. ( Probably thought "Arrrrgh! Another one of those P.D. zealots!" ) ( And they'd be right.... ;) ) I just think it is TRAGIC and a HUGE waste that such an elegant and beautifully-designed OS as Plan 9 continues to basically sit in a backwater, ignored and unused by almost everyone. And it is sitting there when I am convinced that a P.D. release would see its use rocket into the stratosphere. What would be the harm in releasing it to the public domain? It is already open-source so it's not as if any revenue would be lost. It would be a good P.R. opportunity for Bell Labs too (and as I say, a nice way of honouring D.R. Let's face it - if Unix itself had been released as P.D. in the first place, then there would have been no need to reinvent it (as with the BSDs and Linux). It could simply have been continually improved upon. That's where I'm "coming from", as it were. SQLite shows what is possible with P.D. code. It is apparently used in darned-near every smartphone out there, so it's not as if companies won't use P.D. code if it is good enough. If it meets their needs, they will go for it.
- 4ad 14y agoThe LPL which Plan 9 now uses is basically equivalent to the BSD licence. It's non-viral.