diff --git a/ftpfs.c b/ftpfs.c index 0346354..866a2a4 100644 --- a/ftpfs.c +++ b/ftpfs.c @@ -181,6 +181,14 @@ static struct fuse_opt ftpfs_opts[] = { FUSE_OPT_KEY("--verbose", KEY_VERBOSE), FUSE_OPT_KEY("-V", KEY_VERSION), FUSE_OPT_KEY("--version", KEY_VERSION), + + /* These may come in from /etc/fstab - we just ignore them */ + FUSE_OPT_KEY("auto", FUSE_OPT_KEY_DISCARD), + FUSE_OPT_KEY("noauto", FUSE_OPT_KEY_DISCARD), + FUSE_OPT_KEY("user", FUSE_OPT_KEY_DISCARD), + FUSE_OPT_KEY("nouser", FUSE_OPT_KEY_DISCARD), + FUSE_OPT_KEY("users", FUSE_OPT_KEY_DISCARD), + FUSE_OPT_KEY("_netdev", FUSE_OPT_KEY_DISCARD), FUSE_OPT_END };