From 307242f21bf3ca7a0fb0f30da45b5956f47b0250 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Mon, 26 Jan 2004 11:28:44 +0000 Subject: fix --- util/fusermount.c | 11 ++++++++--- 1 file changed, 8 insertions(+), 3 deletions(-) (limited to 'util/fusermount.c') diff --git a/util/fusermount.c b/util/fusermount.c index 1a6db91..1d8afd2 100644 --- a/util/fusermount.c +++ b/util/fusermount.c @@ -487,7 +487,8 @@ static void usage() " -p check default permissions on files\n" " -c cache in kernel space if possible\n" " -x allow other users to access the files (only for root)\n" - " -d name add 'name' as the filesystem name to mtab\n", + " -n name add 'name' as the filesystem name to mtab\n" + " -l issue large reads\n", progname); exit(1); } @@ -541,15 +542,19 @@ int main(int argc, char *argv[]) flags |= FUSE_ALLOW_OTHER; break; - case 'd': + case 'n': a++; if(a == argc) { - fprintf(stderr, "%s: Missing argument to -d\n", progname); + fprintf(stderr, "%s: Missing argument to -n\n", progname); exit(1); } fsname = argv[a]; break; + case 'l': + flags |= FUSE_LARGE_READ; + break; + default: fprintf(stderr, "%s: Unknown option %s\n", progname, argv[a]); exit(1); -- cgit v1.2.3