Changes by: cha0smaster
Update of /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs
In directory sc8-pr-cvs1.sourceforge.net:/tmp/cvs-serv16967/ntfsprogs
Modified Files:
ntfsmount.c
Log Message:
accept noauto mount option for better support mounting via fstab
Index: ntfsmount.c
===================================================================
RCS file: /cvsroot/linux-ntfs/ntfsprogs/ntfsprogs/ntfsmount.c,v
retrieving revision 1.37
retrieving revision 1.38
diff -u -p -r1.37 -r1.38
--- ntfsmount.c 3 Oct 2005 21:07:24 -0000 1.37
+++ ntfsmount.c 4 Oct 2005 20:00:22 -0000 1.38
@@ -1296,6 +1296,8 @@ static char *parse_mount_options(const c
if (!setlocale(LC_ALL, val))
Eprintf("Failed to set locale to %s. "
"Continue anyway.\n", val);
+ } else if (!strcmp(opt, "noauto")) {
+ /* Don't pass noauto option to fuse. */
} else { /* Probably FUSE option. */
strcat(ret, opt);
if (val) {
|