diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/lib9/post9p.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/lib9/post9p.c b/src/lib9/post9p.c index c05b3363..e894ef9e 100644 --- a/src/lib9/post9p.c +++ b/src/lib9/post9p.c @@ -66,6 +66,10 @@ post9pservice(int fd, char *name, char *mtpt) dup(fd, 0); for(i=3; i<20; i++) close(i); + + /* Try v9fs on Linux, which will mount 9P directly. */ + execlp("mount9p", "mount9p", "-", mtpt, (char*)0); + if(chattyfuse) execlp("9pfuse", "9pfuse", "-D", "-", mtpt, (char*)0); else |