Hacker Newsnew | past | comments | ask | show | jobs | submit | Dauntless's commentslogin

Can someone explain in plain talk what Plan 9 is and does? Thanks...


Well if you are familiar with unix Plan 9 was its successor which extrapolated a lot of the ways of doing things into a much more well defined operating environment. Things like IPC are heavily emphasised.


Thank you :) Have a good day!


Everything in UNIX is modelled as a "file", whereas in Plan9 everything is modelled after a "burrito" - some guy on Slashdot


Plan9 needs a wider adoption. It is an evolution of UNIX design concepts:

* all objects are either files or file systems

* communication is over a network

* private namespaces (transparent access to remote processes) [1]

Even more modern concepts are in the NT kernel by Dave Cutler (VMS fame). NT uses an object metaphor that is pervasive throughout the architecture of the system. Not only are all of the things in the UNIX file metaphor viewed as objects by NT, but so are things such as processes and threads, shared memory segments, the global registry database and even access rights. [2] You can browse the NT object tree e.g. with the ReactOS Explorer on Windows or ReactOS. [3]

[1] http://en.wikipedia.org/wiki/Plan_9_from_Bell_Labs

[2] http://old.reactos.org/en/about.html

[3] http://www.foxplanet.de/explorer/


The NT Kernel is quite good.


I recall hearing old NT hands saying that in the early versions of NT, it was more of a micro-kernel -- eg. the video driver ran in user space. So if the video-driver crashed (obviously leaving the screen in an unusable state) -- it was still possible to restart the driver via the keyboard -- no OS reboot needed. But at the time, they couldn't get the performance they wanted, so moved the stuff into the kernel -- the rest is a long history of blue screens of death...


That is true story.

Thankfully as of Vista, video drivers are back in userspace.

NT is still a microkernel by design. What Microsoft did was to keep the modules logically separated and use kernel internal RPC to switch between areas of responsibility in the kernel. Even if it looks like a monolithic one.

This is how hybrid mikrokernels tend to work.

Since Vista the support for user space drivers has been improved a lot.


It's quite fascinating, in lights of the idelogical bunfights over kdbus, systemd, and Wayland which are plaguing the Linux world, to look at what the designers of Linux did as a followup: binary IPC is baked in. Everything is a file. And so on.


These guys didn't design Linux; it would work better if they had. They created Unix.

Also, know how you do init in Plan 9? You add commands to an init file, and they run when the machine boots. If a service goes down for some reason, you GO RESTART IT YOURSELF.


> Also, know how you do init in Plan 9? You add commands to an init file, and they run when the machine boots. If a service goes down for some reason, you GO RESTART IT YOURSELF.

Are you saying that lack of process monitoring is a feature? The "add commands to init" thingie has simplicity going for it, and reminds me of the little I've seen of Arch's old init scripts, but I'm not interested in figuring out the dependency order of my services by experimentation, or giving up parallel initialization.


> These guys didn't design Linux; it would work better if they had. They created Unix.

I'm glad in your haste to snark on a typo you managed to leap over all the bits that don't correspond with your worldview.


But it's ok because plan 9 services don't crash?


Correct. Just like unix. If something crashes, there is a serious problem. Restarting it blindly is typically going to do more harm than good (allowing the attacker who crashed it infinite chances to keep trying to exploit the bug rather than just crash the process). When something crashes, you fix it, you don't just restart it and pretend that is supposed to happen.


> If something crashes, there is a serious problem

Sometimes yes, sometimes no. Providing the system owner the ability to make that decision is a feature.


Yes, but this should never be the default. If something crashed, it's often a sign of an underlying problem that should be solved. Programs crash for a reason.

I've seen many "Windows import" sysadmins who think it's perfectly natural to reboot a server because something is not working. It's not. Automatic restart of crashed processes should be the exception (as in "we need to keep the reactor core cool") rather than the norm.


The plan 9 team do not consider it a feature. Hence it does not exist.


That's in the 9 fortunes file is it not?



Be more unix then unix.


Did someone removed this from the main page?... so very strange... I guess it may have been flagged by several users. :\


What made Facebook great at first, is what is missing now...


I think a good idea for a new Facebook would be to start at some big University college and build up from there...


Now both Labour and Conservative will need Lib.Dems, hopefully this will make electoral reform a possibility.


Im not sure that's a good thing. Reform to PR would almost certainly lead to a very strong Lib/Lab coalition. The conservatives would, essentially, be out of the picture for decades in all probability.

I prefer this way where it could go either way (Lib/Con or Lib/Lab).


The conservatives would, essentially, be out of the picture for decades in all probability.

Fingers crossed.


Not completely clear cut. Could be a minority Con govt, or they may be able to get a majority with other parties + independents.

Personally I think we should be concentrating on more pressing issues than electoral reform.


If we don't get electoral reform now, it's never going to happen.


Never is a very long time in politics :/

If Lib Dems had gained seats, or at least not lost so many of their own seats, they would have had a much bigger chance of getting reform.


Sorry, but after what they did when they closed the free private accounts some time ago, I ain't going to touch it again.


I love this kind of comments... it's like UK and France were talking about Germany before WW2 :))


Um... Godwinned?


I'll be honest it looks like Facebook OS for phones :) Not bad, not bad at all. Still though, imho, Microsoft will lose most of the old Windows Mobile fans and users and will start from scratch with this one.


They are probably holding back features for next generations of iPad... launched in a year or so after the first one (it could have a camera also)


I'm #45... quite a proudful number :) It's kind-of nice to compare two id numbers with the number of days ago that the accounts were created in, to see how many registered during that period.


If you had been #42 I would have had a question for you.


Guidelines | FAQ | Lists | API | Security | Legal | Apply to YC | Contact

Search: