Here is a tinny patch to make p9p's mount(1) work on linux even if you have the v9fs (or fuse *yuck*) modules built into your kernel rather than as modules.
Still there is the issue of what to do if you are not root, maybe a 9pmount helper program that is suid could take care of this? Sqweek wrote a very nice 9mount program ( http://sqweek.dnsdojo.org/code/9mount/docs ) that maybe could be added to p9p, unfortunately v9fs has changed its interface/params once more and 9mount doesn't work with recent kernels *sigh* Peace and best wishes uriel P.S.: Can someone please forward this to russ, last I heard he had my email address in his kilfile. diff -r fe7a4a762f75 bin/mount --- a/bin/mount Sun Jun 15 01:46:23 2008 -0400 +++ b/bin/mount Thu Jun 19 03:41:08 2008 +0200 @@ -6,12 +6,12 @@ } switch(`{uname}){ case Linux - if(lsmod|9 grep -si '^9p(2000)? '){ + if(cat /proc/filesystems|9 grep -si ' 9p(2000)?$'){ if(u test -S $1) exec u mount -t 9p -o proto'='unix,name'='$USER $1 $2 exec u mount -t 9p -o proto'='tcp,name'='$USER $1 $2 } - if(lsmod|9 grep -si '^fuse ') + if(cat /proc/filesystems|9 grep -si ' fuse$') exec 9pfuse $1 $2 echo 'don''t know how to mount (no 9p, no fuse)' >[1=2] case FreeBSD
