[PATCH] Make tux3fuse more user friendly
OGAWA Hirofumi
hirofumi at mail.parknet.co.jp
Sat Jan 5 08:13:51 PST 2013
Tero Roponen <tero.roponen at gmail.com> writes:
> On Sun, 6 Jan 2013, OGAWA Hirofumi wrote:
>
>> Hi,
>>
>> Hm, after this patch, I can't pass "-o allow_other" anymore. Can't fuse
>> support "-o foo" with command line style?
>>
>> # ./tux3fuse tux3.img /mnt -o allow_other
>> or
>> # ./tux3fuse -o allow_other tux3.img /mnt
>>
>> Maybe, we just want to pass all except volname?
>
> You are right, I just haven't used any other options than
> -f and -d myself. The following patch should fix this:
>
> diff --git a/user/tux3fuse.c b/user/tux3fuse.c
> index 9eb7e30..45a2cb5 100644
> --- a/user/tux3fuse.c
> +++ b/user/tux3fuse.c
> @@ -1008,8 +1008,8 @@ static int tux3fuse_parse_options(void *data, const char *arg,
> return 1; /* Pass this option to FUSE */
> }
>
> - printf("Unhandled option: %s\n", arg);
> - return -1;
> + /* Pass all other options to FUSE. */
> + return 1;
> }
>
> int main(int argc, char *argv[])
OK. I'll apply with this fix.
Thanks.
--
OGAWA Hirofumi <hirofumi at mail.parknet.co.jp>
More information about the Tux3
mailing list