Minor FUSE bug fixes (found mount_fusefs!)

This commit is contained in:
rsc 2007-01-18 13:02:52 +00:00
parent 9b3fcf01c5
commit 357cecc163
2 changed files with 3 additions and 2 deletions

View file

@ -1,4 +1,4 @@
l#!/usr/local/plan9/bin/rc
#!/usr/local/plan9/bin/rc
if(! ~ $#* 1){
echo 'usage: unmount mtpt' >[1=2]

View file

@ -831,7 +831,8 @@ mountfuse(char *mtpt)
if(pid == 0){
snprint(buf, sizeof buf, "%d", fd);
putenv("MOUNT_FUSEFS_CALL_BY_LIB", "");
execl("mount_fusefs", "mount_fusefs", buf, mtpt, nil);
execl("/System/Library/Filesystems/fusefs.fs/mount_fusefs",
"mount_fusefs", buf, mtpt, nil);
fprint(2, "exec mount_fusefs: %r\n");
_exit(1);
}