From 357cecc163c31e95a40a2ce14a23840eef066fe6 Mon Sep 17 00:00:00 2001 From: rsc Date: Thu, 18 Jan 2007 13:02:52 +0000 Subject: [PATCH] Minor FUSE bug fixes (found mount_fusefs!) --- bin/unmount | 2 +- src/cmd/9pfuse/fuse.c | 3 ++- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/bin/unmount b/bin/unmount index 6323e843..46976f16 100755 --- 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 index b2ccd7fc..6422c28c 100644 --- 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); }