Plan 9 from Bell Labs

  Рет қаралды 20,927

DJ Ware

DJ Ware

Күн бұрын

Today, I am looking at Plan 9 from Bell Labs, the next generation operating system to follow on to UNIX. It was designed to fix the flaws in UNIX and address the new business problems of distributed computing using inexpensive workstations, intelligent terminals and remote access from the Internet. The other areas Plan 9 addressed was replacing X11 with 8 1/2 a kernel level GUI for Plan 9. I am not covering 8 1/2 in this video, since I ran out of time to cover it, look for a future video discussing that topic.
Plan 9 Foundation: p9f.org/
00:00 - Intro
00:15 - Overview
00:19 - Plan 9 Team
01:00 - trailer
01:18 - Plan 9 Design
03:35 - WIndowing System
05:03 - Why Plan 9?
06:55 - UNIX couldnt do this
07:11 - 9P Protocol
08:22 - 3 Princicples
10:23 - Terminal
11:17 - Namespaces
11:51 - User Walkthrough
13:39 - Security
14:32 - Final Thoughts
Support me on Patreon: / djware
Follow me:
Twitter @djware55
Facebook: / don.ware.7758
Gitlab: gitlab.com/djware27
#plan9 #belllabs #nextgen

Пікірлер: 91
@CyberGizmo
@CyberGizmo Жыл бұрын
So I ran out of time to discuss 8 1/2 the replacement for X11, which was built-in to the Plan 9 kernel and ran in kernel space. But will try and do that one in the future.
@unLinuxeroMas
@unLinuxeroMas Жыл бұрын
and the sucesor rio
@CyberGizmo
@CyberGizmo Жыл бұрын
@@unLinuxeroMas yes will cover rio as well
@EXTEZZEE
@EXTEZZEE Жыл бұрын
Cool, looking forward to this.
@tallioegian
@tallioegian Жыл бұрын
and inferno?
@torsmork
@torsmork Жыл бұрын
This storytelling format of telling your history and experiences alongside the history and workings of things is one of the things that makes your channel so excellent. Great job as always!
@michaelp62
@michaelp62 4 ай бұрын
Not much traffic here for the last year. I was a communications technician for AT&T and trained at Bell Labs in Basking Ridge, NJ as a UNIX system admin. I discovered Plan 9 at one of my classes in the 1980s. I bought the OS for $350 (4 hi density floppies, and a manual) and installed it on a PC. I never used it much. I was used to purchasing software and installing it on a Windows 3.1 PC. However I did enjoy the way it looked on the screen. I remember there was a browser called Mothra - another film reference. The inner workings of Plan 9 were beyond me, kind of like a joke that I didn't quite comprehend. I corresponded with a developer (at Alcatel, who bought part of the labs) and even contributed a bit to getting the mouse to work. FYI, a 3-button mouse is a requirement! I loved playing around with Plan 9 and was disappointed it wasn't adopted more widely within the AT&T company. I have the Raspberry Pi version and will start tinkering with it again. Thanks for the memories!
@SpeedKreature
@SpeedKreature Жыл бұрын
My understanding is that Rob Pike, Ken Thompson, and others worked on the product a bit fairly recently to create a derivative with the intent to use that product within Google as a replacement for Kubernetes (and its predecessor) b/c they are excessively complex--the administrative overhead was outside of Google's tolerance. The final release of Plan 9 from Bell Labs was in 2015 but it was re-licensed in 2021. A public derivative, Inferno, is very much alive and I worked on a globally distributed computing project which trialed Inferno. That trial ended in 2019 after realizing the benefits we gained came with significant drawbacks at scale--primarily kernel issues. We opted to fork seL4 and a partial rewrite to employ the namespace and service structure of Plan 9. That collapsed in mid-2020 about the same time the globe's tolerance for being full-time hermits was getting thin.
@smorrow
@smorrow Жыл бұрын
> A public derivative, Inferno, is very much alive and I worked on a globally distributed computing project which trialed Inferno u wot
@smorrow
@smorrow Жыл бұрын
Really though, I'd be interested in knowing.
@david300m
@david300m Жыл бұрын
A nice walk down memory lane. Thanks for sharing. I used Plan 9 back in the day as a research project for distributed computing. I built several computers as separate services, CPU server, file server, etc. At that time, black computer cases were not common so I bought some to build the PC's. The funny thing is that the managers were more interested in the black cases more than the concept itself. 😁
@RonJohn63
@RonJohn63 Жыл бұрын
"the managers were more interested in the black cases more than the concept itself." Doesn't surprise me at all. Humans "bike shed" all the time.
@LappDog
@LappDog Жыл бұрын
"Plan 9? Ah, yes. Plan 9 deals with the resurrection of the dead. Long distance electrodes shot into the pineal and pituitary gland of the recently dead."
@klokibril
@klokibril Жыл бұрын
Nice of you to do a video on Plan 9! I have read a few things about Plan 9 in the past and it has always intrigued me.
@kayakMike1000
@kayakMike1000 Жыл бұрын
I ran a small cluster on some old raspberry pi systems. It's a remarkable system, but quite alien. You log into one of your nodes and the namespace pulls in all your file resources from all systems
@ettoreatalan8303
@ettoreatalan8303 Жыл бұрын
The operating system development at Bell Labs did not end with Plan 9. A successor to Plan 9 was developed with Inferno. However, Inferno seems to be even less known than Plan 9.
@capability-snob
@capability-snob Жыл бұрын
Solid dive into the architecture! One of my favourite little details of 9p is that it's request/reply with connection-local client selected identifiers. This is great for security but also for performance, making it arguably the most well thought out async api until CapTP came along at the end of the century.
@davidjohnston4240
@davidjohnston4240 Жыл бұрын
I had a lot of fun with plan9 when it was released. My tiny contribution was to fix some mouse code so it would work with my 3 button mouse. It was the only context in which I got to have an email exchange with DMR. Being able to set up the namespace for a program made it really easy to program on.
@eugrus
@eugrus Жыл бұрын
Lately it feels like you are reading my mind and making exactly the videos I want to see! 👍
@CyberGizmo
@CyberGizmo Жыл бұрын
awesome
@Lucas98M
@Lucas98M Жыл бұрын
Hey DJ, thanks for sharing your time with us! Very entertaining & informative as is the rule on your channel.
@augusto256
@augusto256 Жыл бұрын
After seeing this brilliant explanation (there is not much information on this subject), and taking into account that in this decade the development trend of computer systems is more and more oriented towards IoT, I think that the computer industry should take more seriously the development of a solution such as Plan 9 for distributed operating systems on ARM architecture.
@davidlaraezm
@davidlaraezm 4 ай бұрын
Absolutely, the creators were ahead of their time!
@adventuresin9797
@adventuresin9797 Жыл бұрын
9P isn't just a network protocol. It is used inside a system too. So everything is network transparent. A local hard drive and network storage all looks the same to an application, as all are accessed by 9P. 9P is currently used some virtual machine software to access the host's resources, and even Microsoft has a 9P fork for Windows Subsystem for Linux.
@CyberGizmo
@CyberGizmo Жыл бұрын
9P IS a network protocol. First sentence in the 9P Wiki article, so dont take my word for it. So I also checked with some of the documents from the author, he calls it a file system protocol, i would say it is both from the writeup. So will leave it at that. Peace
@smorrow
@smorrow Жыл бұрын
@@CyberGizmo He's right. 9P is running over named pipes before you even get to the installer.
@thefrontfelloff
@thefrontfelloff 11 ай бұрын
@@CyberGizmo Yes adventuresin9 is correct, instead of reading the wiki perhaps you should be reading the code as a source of authority
@CyberGizmo
@CyberGizmo 11 ай бұрын
@@thefrontfelloff I disagree with that comment completely, 1) reading the code takes a lot of time 2) Its not always easy to see the intent the programmer had from the code and 3) this is why we document, if the documentation is inaccurate the project is NOT done period
@thefrontfelloff
@thefrontfelloff 11 ай бұрын
@@CyberGizmo 1) I view this as part of the requirements before you would like to speak authoritatively on a software subject. Yes it takes time. 2) The intent of the author has no bearing on your misunderstanding of 9p. What we are trying to help you with is understanding the technical properties, not intent. 3) I can't quite infer which documentation you were referencing, and I disagree with your authority on deciding when a project is done. Things get documented, sometimes the wording is technically incorrect or confusing. We find those and fix them. However being persistent that some documentation is more accurate then the code, or those who work with the code, seems rather misguided.
@davidhiggen3029
@davidhiggen3029 Жыл бұрын
Going back to Unix evolution, I think while the BSD variant greatly contributed to wide adoption by incorporating TCP/IP, they made two horrible mistakes. One, they introduced a completely different network interface (sockets) which was not properly integrated into the filesystem namespace. And second, they introduced 'daemons'... userspace processes handling work which should probably have been done by the kernel in most cases.
@smorrow
@smorrow Жыл бұрын
Ninth-edition Unix had TCP in the manner of early Plan 9
@biehdc
@biehdc Жыл бұрын
I would watch you show off Plan 9 for 6 hours, sounds entertaining.
@doodlebug1820
@doodlebug1820 Жыл бұрын
And now Rust uses utf8 for strings. Utf8 is one of the most genius things ever. There were so many arguments about how to do unicode but this solved so many of the issues via backwards compatability with ascii. Petfect example of why research on OSes is very important to real world.
@kamilziemian995
@kamilziemian995 Жыл бұрын
Thank you for all the information that you give us in these videos.
@thewiirocks
@thewiirocks Жыл бұрын
Gosh, I haven't even thought about Plan 9 OS in probably 20 years. Thanks for reminding everyone this exists! Would love to see someone do a tour through a running OS as I was never able to get it installed. If you're going to do esoteric Operating Systems that had an impact, do ErOS next. ;)
@alfiegordon9013
@alfiegordon9013 Жыл бұрын
Theres the adventuresin9 channel here on KZfaq that goes through lots of usage stuff for plan9
@thewiirocks
@thewiirocks Жыл бұрын
@@alfiegordon9013 Thanks for the tip. I'll check it out!
@proxymoxy1337
@proxymoxy1337 Жыл бұрын
Your videos are awesome mate, keep em coming
@HaydenLikeHey
@HaydenLikeHey Жыл бұрын
Wow, this is really interesting! I've been wondering about what a world run with Plan 9 might look like. It seems like the Bell Labs devs really had the shared network system in mind. Thanks for making this vid!
@smorrow
@smorrow Жыл бұрын
Laptops kind of broke the most attractive thing about Plan 9.
@MrDaskon
@MrDaskon Жыл бұрын
Thanks man! It was very informative and entertaining
@praxis22
@praxis22 Жыл бұрын
I experimented with it when I first got into UNIX, in my very first admin job, a trip down memory lane.
@guilherme5094
@guilherme5094 Жыл бұрын
👍Thanks DJ.
@DougForce
@DougForce Жыл бұрын
Very interesting! Even better that the campy classic movie served as naming inspiration!
@djwisd0m
@djwisd0m Жыл бұрын
Thanks for this. :^)
@paulwratt
@paulwratt Жыл бұрын
I am pretty sure there was and "semi-official" build of Plan9 for RPi2B+ (the older version, not the newer one that has the same CPU as RPi3's). By "semi-official" I mean it was compiled by one of the (ex-)team members and was made available on the "official Plan9" site. It can also run on RPi3. When I say "official Plan9" site, I mean I had to edit _/etc/hosts_ and add an IPv4 map to plan9 url's on the then (now?) historically maintained "official" site. I dont know if this has been resolved since 2018/19 when I collected the binaries and the sd-card images, but previous to that the Plan9 url did work normally (and may again one day).
@marinoceccotti9155
@marinoceccotti9155 Жыл бұрын
I remember having had a try at it in the early 2000.
@justgivemethetruth
@justgivemethetruth Жыл бұрын
Very interesting talk. I'd love to know more about Plan9, but I don't think it would be very useful except in the abstract for historical purposes. The guys that made it up where the wonder geniuses of Bell Labs. I wonder what became of them and their work after Plan9? The 8 1/2 sounds very interesting too. I hope I can catch that one.
@w4gap
@w4gap 5 ай бұрын
Excellent video, thanks for taking the time to make and share. For an excellent overview of the development of tcp/ip and alternative solutions (observations in hindsight obviously ;-) from John Day you should check out his book "Patterns in Network Architecture: A return to fundamentals". Please keep up the excellent work.
@scottspitlerII
@scottspitlerII Жыл бұрын
We need more stories!
@scottspitlerII
@scottspitlerII Жыл бұрын
How do you feel about fuchsia then? It’s a micro kernel, all networking is done in user space; but the device drivers map physical access to the NIC with the MMU. What are your thoughts??
@miguelangelooliveira184
@miguelangelooliveira184 Жыл бұрын
Hi DJ, I really like your videos! Why don't you make a video about Solaris 11? At least I can't find one... Thanks!
@keyboard_g
@keyboard_g Жыл бұрын
Plan9 means we need to see some of the Acme editor.
@256k_
@256k_ 3 ай бұрын
please more videos on plan9
@smorrow
@smorrow Жыл бұрын
0:23 IIRC, Presotto is the inventor the firewall. 5:21 And today it is basically a whole new second kernel in userspace 13:40 was true for the first maybe-two editions (no-one used these; it wasn't open-source). Today you can log into the file server with permission. Back then it was something like a unikernel before unikernels. The code's still there, but hasn't been brought along to dip9k security.
@muha0644
@muha0644 Жыл бұрын
10:24 Cirno my beloved!
@kayakMike1000
@kayakMike1000 Жыл бұрын
Plan 9 was the way the future could have been. This operating system was 20 years ahead of its time. All the ideas to distribute applications across many nodes was implemented in stuff "application servers" like weblogic and later websphere, later tomcat, jboss, and wildfly.
@sonicsaviouryouwillnotgetm6678
@sonicsaviouryouwillnotgetm6678 Жыл бұрын
Interesting. How fast were network speeds back then? Seem like a pretty futuristic idea for the time, no?
@theBENDS135
@theBENDS135 Жыл бұрын
This was great. I’ve seen a significant number of software projects refer to Plan 9 in their design philosophies. I never took the time to research it so, up until this point, Plan 9 remained sort of like a myth to me. I really liked this video.
@smorrow
@smorrow Жыл бұрын
The Tanenbaum-Torvalds debate was like that for me. It's online, you can read it, it's not that epic (in any sense).
@justgivemethetruth
@justgivemethetruth Жыл бұрын
This seems like it would be a great hardware base to implement some kind of arbitrary AI
@esra_erimez
@esra_erimez Жыл бұрын
Would you please do a video about Minix 3? (and, maybe even Xinu)
@CyberGizmo
@CyberGizmo Жыл бұрын
I have it on my list of to-do's.
@michaelwright2986
@michaelwright2986 Ай бұрын
I have a friend who does his home computing on Plan 9 running on old Thinkpads. I know him through a Latin reading group. Is there a common theme, or is Plan 9 still the future?
@scottspitlerII
@scottspitlerII Жыл бұрын
12:51 don’t threaten me with a good time 😮🥳
@davidweeks1997
@davidweeks1997 Жыл бұрын
Nice to know. What can you tell us about hurd?
@CyberGizmo
@CyberGizmo Жыл бұрын
Last update was in 2016, 4 out of the 6 linux distro's based on it are discontinued, I would say that puts it in the inactive project column. Debian and Arch have Hurd editions, I don't know much about the Arch version, but Debian GNU Hurd is a development release that offers 32-bit mode only and was updated in 2021.
@armynyus9123
@armynyus9123 Жыл бұрын
After 2min: So k8s IS the plan9 idea materialized today, rite?
@MatthewHarrold
@MatthewHarrold Жыл бұрын
I just discovered that WordNet (Princeton University) died in 2006, and it is my failure to realize this. I have been active in this industry in spurts and blurts from the mid-80's ... and honestly thought some of these projects were sure bets. I'm hopeful that Plan9 won't only be from outer space. Apparently linguistics is now an AI only world. I'm only commenting on this because I've found a like-minded bunch of humans who could possibly give DJ Ware a new topic to explore. $0.02
@keyboard_g
@keyboard_g Жыл бұрын
10:27 Baby Wogue sighting.
@papamoneyph
@papamoneyph Жыл бұрын
vitanuova inferno too please
@CyberGizmo
@CyberGizmo Жыл бұрын
yes had planned to cover it, so next time for sure
@andrewpalm2103
@andrewpalm2103 Жыл бұрын
Plan 9 From Outer Space is considered by many to be the worst movie ever made in Hollywood which puts it well below the "B movie" category. It's hard to find a worse film.
@CyberGizmo
@CyberGizmo Жыл бұрын
It sure was, I couldnt even watch it to the end.
@rockets4kids
@rockets4kids Жыл бұрын
@@CyberGizmo "Ed Wood" is worth a watch.
@zetaconvex1987
@zetaconvex1987 Жыл бұрын
Would you say that the Bell Labs team was the best team of computer scientists ever assembled (no pun intended)?
@CRYPTiCEXiLE
@CRYPTiCEXiLE Жыл бұрын
i have tried it on rasp-pi back in the day but i was like meh not for me....
@CyberGizmo
@CyberGizmo Жыл бұрын
would imaging it would be a little slow on a 3B version
@CRYPTiCEXiLE
@CRYPTiCEXiLE Жыл бұрын
@@CyberGizmo it was more of not a Unix like style to take interest. It is a neat little OS.
@UmbertoAmante
@UmbertoAmante Жыл бұрын
Why is FTX popping up on the screen in the background!?!?!?
@ericrylos8269
@ericrylos8269 Жыл бұрын
It's from 2001: A Space Odyssey.
@adjusted-bunny
@adjusted-bunny Жыл бұрын
DJWare we could hear you eating.
@CyberGizmo
@CyberGizmo Жыл бұрын
have a cough so had a candy to keep from coughing during the video
@skipinkoreaable
@skipinkoreaable Жыл бұрын
@@CyberGizmo Thank you for sparing us the cough and giving us your real voice. I hope you get well soon. I'm just getting into the start of the video. I know this will be another very insightful video.
@klaus13337
@klaus13337 6 ай бұрын
I love everything, but how he plays with his fingers completely distracts me. Damn ADHD^^.
@superangrybrit
@superangrybrit Жыл бұрын
Very good video!
@rouchar
@rouchar Жыл бұрын
Love your videos, as always. Make one about Openstack 😁
@enriquewalton2777
@enriquewalton2777 Жыл бұрын
☺️ p͎r͎o͎m͎o͎s͎m͎
The Story of GNU/Hurd
22:36
DJ Ware
Рет қаралды 32 М.
The Untold Unix Story
20:40
DJ Ware
Рет қаралды 108 М.
Read a paper: Plan 9
11:45
Vivek Haldar
Рет қаралды 1,2 М.
SysVinit vs Systemd
31:19
DJ Ware
Рет қаралды 53 М.
The Unix Philosophy - My Take
38:03
DJ Ware
Рет қаралды 15 М.
End of Support: Windows 10 - What to do
17:38
DJ Ware
Рет қаралды 309 М.
MirageOS (Unikernels)
17:36
DJ Ware
Рет қаралды 13 М.
New Batteries: It’s Not All Hype
7:00
Sabine Hossenfelder
Рет қаралды 394 М.
Incredible Dangers in Browsers (Affects all of them)
21:02
Rob Braxman Tech
Рет қаралды 286 М.
The mind behind Linux | Linus Torvalds | TED
21:31
TED
Рет қаралды 6 МЛН
Introduction to getting around.  The User Interface of Plan9 / 9Front
13:38
OZON РАЗБИЛИ 3 КОМПЬЮТЕРА
0:57
Кинг Комп Shorts
Рет қаралды 1,8 МЛН
Samsung Galaxy Unpacked July 2024: Official Replay
1:8:53
Samsung
Рет қаралды 23 МЛН
Как распознать поддельный iPhone
0:44
PEREKUPILO
Рет қаралды 1,8 МЛН
Choose a phone for your mom
0:20
ChooseGift
Рет қаралды 7 МЛН
Klavye İle Trafik Işığını Yönetmek #shorts
0:18
Osman Kabadayı
Рет қаралды 3,4 МЛН