changeset: 194:9f369fa1ed64
tag: tip
user: sqweek <sqweek_AT_gmail.com>
date: Sat Dec 13 08:26:53 2008 +0900
files: wmii/9p.md
description:
Update 9p.ko information for newer kernels.
diff -r 9c69a4052117 -r 9f369fa1ed64 wmii/9p.md
--- a/wmii/9p.md Tue Dec 09 10:41:15 2008 +0000
+++ b/wmii/9p.md Sat Dec 13 08:26:53 2008 +0900
_AT_@ -7,25 +7,26 @@
9p.ko
-----
-If you have installed a Linux kernel >= 2.6.14 you can install the 9.ko kernel
-module and mount the wmii filesystem as follows:
-(Note: the module is called '9p2000' in kernels < 2.6.17 and the type parameter for mount is 9p also)
+### 2.6.14 - 2.6.16
+
+ ; modprobe 9p2000
+ ; mount -t 9p $WMII_NS_DIR/wmii /mnt/wmii -o proto=unix,name=$USER,noextend
+
+### 2.6.17 - 2.6.23
; modprobe 9p
; mount -t 9P $WMII_NS_DIR/wmii /mnt/wmii -o proto=unix,name=$USER,noextend
-Afterwards the filesystem of `wmii` is exported to `/mnt/wmii`.
+### 2.6.24 - current
-You can also add following line to `/etc/fstab` (replace `$USER` with your username):
+ ; modprobe 9pnet
+ ; modprobe 9p
+ ; mount -t 9p $WMII_NS_DIR/wmii /mnt/wmii -o trans=unix,uname=$USER,noextend,dfltgid=$(id -g),dfltuid=$(id -u)
- /tmp/ns.$USER.:0/wmii /mnt/wmii 9P proto=unix,uid=1000,noauto,name=$USER,noextend,user 0 0
+Afterwards the filesystem of `wmii` is exported to `/mnt/wmii`. Note that you can simplify the process using [9mount](
http://sqweek.dnsdojo.org/code/9mount), with which the mount command becomes:
-And put
-
- mount /mnt/wmii
-
-at the beginning of your `rc.wmii` or `wmiirc`.
+ ; 9mount -i 'unix!'$WMII_NS_DIR/wmii /mnt/wmii
Inferno
-------
Received on Sat Dec 13 2008 - 17:38:35 CET