mirror of
https://github.com/9fans/plan9port.git
synced 2025-01-12 11:10:07 +00:00
Minor FUSE bug fixes (found mount_fusefs!)
This commit is contained in:
parent
9b3fcf01c5
commit
357cecc163
2 changed files with 3 additions and 2 deletions
|
@ -1,4 +1,4 @@
|
||||||
l#!/usr/local/plan9/bin/rc
|
#!/usr/local/plan9/bin/rc
|
||||||
|
|
||||||
if(! ~ $#* 1){
|
if(! ~ $#* 1){
|
||||||
echo 'usage: unmount mtpt' >[1=2]
|
echo 'usage: unmount mtpt' >[1=2]
|
||||||
|
|
|
@ -831,7 +831,8 @@ mountfuse(char *mtpt)
|
||||||
if(pid == 0){
|
if(pid == 0){
|
||||||
snprint(buf, sizeof buf, "%d", fd);
|
snprint(buf, sizeof buf, "%d", fd);
|
||||||
putenv("MOUNT_FUSEFS_CALL_BY_LIB", "");
|
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");
|
fprint(2, "exec mount_fusefs: %r\n");
|
||||||
_exit(1);
|
_exit(1);
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue