post9p: try mount9p before 9pfuse
This commit is contained in:
parent
c92f73e481
commit
3e4ceac760
@ -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
|
||||
|
||||
Loading…
Reference in New Issue
Block a user