1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?

WSLのplan9プロセス

Posted at

WSL上のUbuntuでhtopコマンドを実行したら、initの下にplan9というプロセスを発見。

image.png

何だろうと思って調べたら、WindowsからWSLのファイルシステムへアクセスするために使ってるデーモンなんですね。
https://wsl.dev/technical-documentation/plan9/

仕組みについてはこちらのブログが参考になりました。
https://koduki.hatenablog.com/entry/2019/05/10/124945

こちらの記事にもある通り、なんでSMBとかNFSを使わなかったんだろうって思って調べてみると、NixOSとかqemuとかで利用さててるんですね。
https://ja.wikipedia.org/wiki/9P

2000年代前半頃にUNIX関連の雑誌でPlan 9の特集を読んだ覚えがあって、その時点でもマイナーで知る人ぞ知るOSみたいな扱いだったけれど、今でもいろいろなところに出てきますね。

今では当たり前のようにUnicodeが使われていて、/procはLinuxに取り込まれ、そしてLinuxをWindowsをつなぐ技術としてまた出てくるというのが実に興味深い。

1
1
0

Register as a new user and use Qiita more conveniently

  1. You get articles that match your needs
  2. You can efficiently read back useful information
  3. You can use dark theme
What you can do with signing up
1
1

Delete article

Deleted articles cannot be recovered.

Draft of this article would be also deleted.

Are you sure you want to delete this article?