#9front

#9front

4 notes with this tag.

RSS Atom JSON Feed All Tags

Saturday, November 28, 2026

been thinking about making it possible to use two operating systems on runv.club. right now we run on debian, and i'm always looking for ways to make everything better...

buuuuut then it hit me: all the common stuff already exists and has been done to death. so what if the second OS was something exotic?

...maybe soon runv.club members will get inferno os or 9front to play with, hehe. or both 🐇👹

Tuesday, November 24, 2026

katze.gg is on 9front, a fork of plan 9 from bell labs. a few notes on how that system is put together:

  1. almost everything is a file, and each process can have its own view of the tree. you bind and mount services into that namespace, and you can union several directories onto the same name, so /bin becomes a stack of personal and system commands.

  2. the glue is a protocol called 9P. servers use it to walk a file tree and to read and write the files inside. a local device and a remote machine answer the same kind of messages.

  3. rio, the window system, serves a file tree for the windows on screen. /dev/text holds everything that has already appeared in the current window, and a screenshot is just topng </dev/window >window.png.

  4. the network is a file tree under /net. open /net/tcp/clone, write connect 1.2.3.4!80 to the ctl file, and there's your connection. machines are named with dial strings like tcp!host!port.

  5. for heavier work, rcpu connects a window to a cpu server. the terminal's namespace shows up there under /mnt/term, so the remote side can still use the local screen, mouse and files.

  6. the plumber is a file server at /mnt/plumb. programs write messages to send, and a rules file decides where they go. sam's plumb menu is just a write to that file; sam itself reads from /mnt/plumb/edit when it's time to open something.

  7. the default disk filesystem is cwfs, a userspace port of ken thompson's original plan 9 file server. there's also hjfs, and a newer one called gefs, still experimental, that can keep several writable snapshots on the same pool.

  8. the c compilers take their names from the architecture: 8c for 386, 6c for amd64, 5c for arm, 7c for arm64. each one has a matching assembler and loader (8a and 8l, 6a and 6l), and mk is what builds the system.

  9. utf-8 was designed for plan 9. ken thompson worked out the bit packing on a placemat in a new jersey diner one night in 1992, and by the end of that week the system was running on it.

  10. releases get names like "do not install", "this was supposed to be fun" and "looks great in mothra". the handbook is the frequently questioned answers, and the website subtitle is "the plan fell off".

katze.gg is a small mirror of some texts i left scattered around the web. the words aren't really the point though. the box is.

1 vcpu, 1 gb ram, 10 gb of nvme, running 9front.

9front is a fork of plan 9, the system bell labs built after unix, where pretty much everything is a file, the network included. no systemd, no package manager drama, and the whole thing is small enough to fit in your head if you give it a weekend.

it boots fast, serves a few pages and mostly sits there quietly. you really don't need much.

https://katze.gg

katze.gg Welcome