Wikifs (as of Thu Feb 19 18:09:36 PST 2026)

This guide assumes you have set up ip/httpd according to the guide.

First we copy the sample wiki:

mkdir /sys/lib/wiki.plan9 {cd /sys/lib/wiki && tar cp .}|{cd /sys/lib/wiki.plan9 && tar xT} mkdir -p /usr/web/$sysname/wiki/

Next, download create.html and put it in /usr/web/$sysname/wiki/:

https://9p.io/wiki/plan9/create.html

NOTE: It will not be possible to create/write to this file after wikifs is mounted, so do this before mounting.

NOTE: You may want to edit line 24 to change the relative path to match your hierarchy.

In /cfg/$sysname/cpurc, make sure to add this line before calling ip/httpd/httpd:

wikifs -p 666 -s wiki.$sysname -a tcp!*!wiki /sys/lib/wiki

Then in /cfg/$sysname/namespace.httpd, you must add a line similar to the below to mount the service created by wikifs:

# wiki mount -bc '#s'/wiki.$sysname /usr/web/$sysname/wiki

Create the directories as needed:

mkdir -p /usr/web/$sysname/wiki/

Next, mount the wikifs and download create.html:

mount -bc '#s'/wiki.plan9 /usr/web/plan9/wiki https://9p.io/wiki/plan9/create.html


Last modified Thu Feb 19 18:09:36 PST 2026 [ Current version | Changelog | Create a new page ] About the server | Powered by Plan 9