diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2006-01-09 11:14:29 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2006-01-09 11:14:29 +0000 |
commit | b32c79b97079d2de63213bbeb12d3bf57e7e6643 (patch) | |
tree | 717546065f486f3c847dedd4d00ce5582fd09d71 | |
parent | 35676b053b908e986eb3eb68f0bb20c54da5b9bb (diff) | |
download | libfuse-b32c79b97079d2de63213bbeb12d3bf57e7e6643.tar.gz |
fix
-rw-r--r-- | ChangeLog | 3 | ||||
-rw-r--r-- | util/mount.fuse | 4 |
2 files changed, 6 insertions, 1 deletions
@@ -3,6 +3,9 @@ * Applied patch from Csaba Henk, to update mount_bsd to new fuse_mount() semantics + * Ignore auto,noauto,... options in mount.fuse. Reported by Frank + Steiner and Don Taber + 2006-01-07 Miklos Szeredi <miklos@szeredi.hu> * Improved help reporting and added version reporting to library diff --git a/util/mount.fuse b/util/mount.fuse index 3ea6d9e..7eec6e0 100644 --- a/util/mount.fuse +++ b/util/mount.fuse @@ -41,6 +41,8 @@ MOUNTPOINT="$2" shift shift -OPTIONS=`echo $@ | sed 's/,user//'` +ignore_opts="(user|nouser|users|auto|noauto|_netdev)" + +OPTIONS=`echo $@ | sed -r "s/(,${ignore_opts}|${ignore_opts},)//g"` ${FSTYPE} ${MOUNTPATH} ${MOUNTPOINT} ${OPTIONS} |