From da4e486a8ec9ad172eb7834a973a14004170ec14 Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Mon, 8 Sep 2003 11:14:11 +0000 Subject: caching patch by Michael Grigoriev --- util/fusermount.c | 5 +++++ 1 file changed, 5 insertions(+) (limited to 'util/fusermount.c') 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; -- cgit v1.2.3