aboutsummaryrefslogtreecommitdiff
path: root/util
diff options
context:
space:
mode:
authorGravatar Miklos Szeredi <miklos@szeredi.hu>2003-09-08 11:14:11 +0000
committerGravatar Miklos Szeredi <miklos@szeredi.hu>2003-09-08 11:14:11 +0000
commitda4e486a8ec9ad172eb7834a973a14004170ec14 (patch)
treea32078a31cf55bf9dac48a0e4694ff6993aa4495 /util
parent868f16fa2462d744127803dcb57fa8cfcbe1584d (diff)
caching patch by Michael Grigoriev
Diffstat (limited to 'util')
-rw-r--r--util/fusermount.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/util/fusermount.c b/util/fusermount.c
index b76c819..754b6a9 100644
--- a/util/fusermount.c
+++ b/util/fusermount.c
@@ -451,6 +451,7 @@ static void usage()
" -h print help\n"
" -u unmount\n"
" -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",
progname);
exit(1);
@@ -479,6 +480,10 @@ int main(int argc, char *argv[])
break;
switch(argv[a][1]) {
+ case 'c':
+ flags |= FUSE_KERNEL_CACHE;
+ break;
+
case 'h':
usage();
break;