Questions tagged [plan-9]

Plan 9 is an operating system kernel with an available collection of software, originally developed at Bell Labs.

Plan 9 from Bell Labs is a research system developed at Bell Labs starting in the late 1980s. Its original designers and authors were Ken Thompson, Rob Pike, Dave Presotto, and Phil Winterbottom. They were joined by many others as development continued throughout the 1990s to the present.

In Plan 9, each process has its own mutable name space. A process may rearrange, add to, and remove from its own name space without affecting the name spaces of unrelated processes. Included in the name space mutations is the ability to mount a connection to a file server speaking 9P, a simple file protocol. The connection may be a network connection, a pipe, or any other file descriptor open for reading and writing with a 9P server on the other end. Customized name spaces are used heavily throughout the system, to present new resources (e.g., the window system), to import resources from another machine (e.g., the network stack), or to browse backward in time (e.g., the dump file system).

The current available version is the fourth release, whose installation resources and instructions are available here.

27 questions
21
votes
3 answers

Is there a lot of Plan 9 development?

It seems that the biggest contributors of Plan 9 are no longer in the project and it does not seem that there is a big development. There is 9fans, a mailing list for Plan 9 users, and once a year they usually do a meeting, but I have been surfing…
icedgoal
  • 646
  • 6
  • 17
19
votes
4 answers

Is 9P obsolete?

I'm interested in studying the 9P FS, currently been reading the source available from these implementations: http://9p.cat-v.org/implementations Is 9P obsolete? Are you using it for some application? (also I've found this, some perfomance test…
Matías Insaurralde
  • 1,202
  • 10
  • 23
8
votes
1 answer

Equivalent to -fplan9-extensions in Clang?

How do I get the anonymous struct/union behaviour activated by -fplan9-extensions in GCC to work in Clang? I'm getting errors assigning to members of anonymous when using designated initializers, and I'm not getting the free casting to the type of…
Matt Joiner
  • 112,946
  • 110
  • 377
  • 526
7
votes
1 answer

Write your own 9P server for Windows?

Since version 1903, Windows 10 can mount 9P network file systems. This is used from WSL. You can run, in Linux, "explorer.exe " and then see in Windows, a "network" (but local) share from your Linux instance. Is this protocol open to use by other…
Prof. Falken
  • 24,226
  • 19
  • 100
  • 173
7
votes
1 answer

Implementing a 9p server

I am looking to develop a C implementation of a 9p file server on a Linux machine. There isn't enough documentation in the internet about 9p and I am not very experienced with implementing servers. My general design is as follows: Use UNIX sockets…
Keeto
  • 4,074
  • 9
  • 35
  • 58
6
votes
2 answers

Beginning Web Development on Plan 9

I've been wanting to program for the Plan 9 operating system for a while. I'd really like to play around with a web app there. Of course, the only language I know for Plan 9 is C, and that doesn't seem ideal for web development. I also understand…
Joseph Holsten
  • 20,672
  • 6
  • 25
  • 29
5
votes
4 answers

Plan9 file-type

It has been said that in plan 9 everything is a file. Please list everything, i.e. all things represented in the filesystem in plan9(especially things that are not files in *nix os-es).
Roman A. Taycher
  • 18,619
  • 19
  • 86
  • 141
5
votes
2 answers

Can't create a file in Plan 9 acme

I'm running Plan 9 OS in VirtualBox. The host OS is Fedora 14. When I run acme hello.c there's an error saying: can't open hello.c:'hello.c' file does not exist I'm following this guide newbie-guide.
Nyan
  • 2,360
  • 3
  • 25
  • 38
5
votes
2 answers

Is it possible to run the BSD userland as a replacement to GNU coreutils with the linux kernel?

I have been looking for a linux distribution that is not for embedded systems and does not use many of the GNU utilities found in many popular distributions. I want to develop a (pet project) linux distribution that uses musl-libc, bsd userland, and…
wohlleben
  • 59
  • 1
  • 3
4
votes
3 answers

What research-operating-system features would you advocate including in Google Chrome Operating System

Imagine that a large player is undertaking the construction of a new operating system, where backward compatibility requirements are limited to: Run existing applications written in (or compiled to) JavaScript which are presented in HTML5 and…
Thomas L Holaday
  • 13,614
  • 6
  • 40
  • 51
3
votes
1 answer

How do you remove space from the beginning of a line using Plan 9's sed

Seems like this should just remove at most 2 spaces from the start of each line: cat test.txt | 9 sed 's/^ //g; instead it replaces all spaces from the start of the line. GNU's sed seems to be have as I'd expect here, for comparison, but I'm…
bbarker
  • 11,636
  • 9
  • 38
  • 62
3
votes
1 answer

Where is Stat_t defined for plan9?

In the plan9 specific Go code for syscall, there is no Stat_t like with other GOOS. Where is Stat_t, or its equivalent defined?
Matt Joiner
  • 112,946
  • 110
  • 377
  • 526
3
votes
1 answer

How does this Integer pool code work

I've been trying to understand how this integer pool works. It is a lot of bit fiddling stuff I can't wrap my head around. I'm assuming there is a concept I'm missing with the m2id array and how it is or'ed with index 'n' that I don't know and…
cleahcim
  • 61
  • 3
2
votes
0 answers

How to deal with Slices as inputs and outputs in Go ASM

I am trying to understand how to send more complicated values to and from Go ASM functions; beyond the typical uint in, uint out case. I stumbled upon a great example of this advanced usage in the crypto/elliptic with the function p256BigToLittle…
Liam Kelly
  • 3,524
  • 1
  • 17
  • 41
1
vote
2 answers

Writing a custom Android OS

I hope this is the right place to ask this. I would like to work on an Android build with a completely custom OS. I was inspired by this project that ported Inferno to Android. I would like to do this legally (obeying all terms of service and…
beatgammit
  • 19,817
  • 19
  • 86
  • 129
1
2