News for hackers. Stuff that matters.
Re:Plan 9 released under GPLv2 by jff on Thursday February 13, 2014 @12:46PM (#7232803)
Everything in UNIX is modelled as a "file", whereas in Plan9 everything is modelled after a "burrito" - some guy on Slashdot
Re:Plan 9 released under GPLv2 by frik on Thursday February 13, 2014 @03:22PM (#7234022)
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/

Re:Plan 9 released under GPLv2 by pjmlp on Thursday February 13, 2014 @04:02PM (#7234315)
The NT Kernel is quite good.
Re:Plan 9 released under GPLv2 by e12e on Thursday February 13, 2014 @11:00PM (#7236809)
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...
Re:Plan 9 released under GPLv2 by pjmlp on Friday February 14, 2014 @02:13AM (#7237376)
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.

Re:Plan 9 released under GPLv2 by rodgerd on Thursday February 13, 2014 @04:06PM (#7234343)
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.
Re:Plan 9 released under GPLv2 by jff on Thursday February 13, 2014 @05:19PM (#7234883)
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.

Re:Plan 9 released under GPLv2 by mercurial on Friday February 14, 2014 @01:36AM (#7237276)
> 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.

Re:Plan 9 released under GPLv2 by rodgerd on Thursday February 13, 2014 @08:57PM (#7236358)
> 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.

Re:Plan 9 released under GPLv2 by lmm on Thursday February 13, 2014 @06:25PM (#7235452)
But it's ok because plan 9 services don't crash?
Re:Plan 9 released under GPLv2 by nousernamesleft on Thursday February 13, 2014 @07:13PM (#7235748)
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.
Re:Plan 9 released under GPLv2 by rodgerd on Thursday February 13, 2014 @08:55PM (#7236349)
> 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.

Re:Plan 9 released under GPLv2 by rbanffy on Friday February 14, 2014 @05:17AM (#7237790)
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.

Re:Plan 9 released under GPLv2 by nousernamesleft on Thursday February 13, 2014 @09:56PM (#7236583)
The plan 9 team do not consider it a feature. Hence it does not exist.
Re:Plan 9 released under GPLv2 by mikecb on Thursday February 13, 2014 @01:56PM (#7233353)
That's in the 9 fortunes file is it not?