post9p: try mount9p before 9pfuse
This commit is contained in:
parent
c92f73e481
commit
3e4ceac760
1 changed files with 4 additions and 0 deletions
|
|
@ -66,6 +66,10 @@ post9pservice(int fd, char *name, char *mtpt)
|
||||||
dup(fd, 0);
|
dup(fd, 0);
|
||||||
for(i=3; i<20; i++)
|
for(i=3; i<20; i++)
|
||||||
close(i);
|
close(i);
|
||||||
|
|
||||||
|
/* Try v9fs on Linux, which will mount 9P directly. */
|
||||||
|
execlp("mount9p", "mount9p", "-", mtpt, (char*)0);
|
||||||
|
|
||||||
if(chattyfuse)
|
if(chattyfuse)
|
||||||
execlp("9pfuse", "9pfuse", "-D", "-", mtpt, (char*)0);
|
execlp("9pfuse", "9pfuse", "-D", "-", mtpt, (char*)0);
|
||||||
else
|
else
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue