accept noauto mount option for better support mounting via fstab

edge.strict_endians
cha0smaster 2005-10-04 20:00:22 +00:00
parent e0dd52faae
commit fa46de6b6f
1 changed files with 2 additions and 0 deletions

View File

@ -1296,6 +1296,8 @@ static char *parse_mount_options(const char *org_options)
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) {