plan9port

fork of plan9port with libvec, libstr and libsdb
Log | Files | Refs | README | LICENSE

commit 357cecc163c31e95a40a2ce14a23840eef066fe6
parent 9b3fcf01c5d22d7be320a0e194cc54579f71c409
Author: rsc <devnull@localhost>
Date:   Thu, 18 Jan 2007 13:02:52 +0000

Minor FUSE bug fixes (found mount_fusefs!)

Diffstat:
Mbin/unmount | 2+-
Msrc/cmd/9pfuse/fuse.c | 3++-
2 files changed, 3 insertions(+), 2 deletions(-)

diff --git a/bin/unmount b/bin/unmount @@ -1,4 +1,4 @@ -l#!/usr/local/plan9/bin/rc +#!/usr/local/plan9/bin/rc if(! ~ $#* 1){ echo 'usage: unmount mtpt' >[1=2] diff --git a/src/cmd/9pfuse/fuse.c b/src/cmd/9pfuse/fuse.c @@ -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); }