From 855f79fad2cfa79ffde79420055097e60017de31 Mon Sep 17 00:00:00 2001 From: "resver@gmail.com" Date: Mon, 18 Mar 2013 18:37:25 +0000 Subject: [PATCH] Allow -n option for automount/autofs compatibility. git-svn-id: http://exfat.googlecode.com/svn/trunk@346 60bc1c72-a15a-11de-b98f-4500b42dc123 --- fuse/main.c | 2 ++ fuse/mount.exfat-fuse.8 | 6 ++++++ 2 files changed, 8 insertions(+) diff --git a/fuse/main.c b/fuse/main.c index cd02599..99b4ae0 100644 --- a/fuse/main.c +++ b/fuse/main.c @@ -429,6 +429,8 @@ int main(int argc, char* argv[]) puts("Copyright (C) 2010-2013 Andrew Nayenko"); return 0; } + else if (strcmp(*pp, "-n") == 0) + /* ignore */ ; else if (spec == NULL) spec = *pp; else if (mount_point == NULL) diff --git a/fuse/mount.exfat-fuse.8 b/fuse/mount.exfat-fuse.8 index 83d2e63..aeec5d8 100644 --- a/fuse/mount.exfat-fuse.8 +++ b/fuse/mount.exfat-fuse.8 @@ -9,6 +9,9 @@ mount.exfat-fuse \- mount an exFAT file system .B \-d ] [ +.B \-n +] +[ .B \-o .I options ] @@ -30,6 +33,9 @@ Command line options available: .BI \-d Enable debug logging and do not detach from shell. .TP +.BI \-n +Ignored. +.TP .BI \-o " options" File system specific options. For more details see .B FILE SYSTEM OPTIONS -- 2.11.0