diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2004-01-26 11:28:44 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2004-01-26 11:28:44 +0000 |
commit | 307242f21bf3ca7a0fb0f30da45b5956f47b0250 (patch) | |
tree | 746fbdb6e416dcba61f905c19be0c33c52de5939 /util | |
parent | e815c03771bfe19a12f9ff76639b28567942903c (diff) |
fix
Diffstat (limited to 'util')
-rw-r--r-- | util/fusermount.c | 11 |
1 files changed, 8 insertions, 3 deletions
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); |