Do not get confused by the captive default 'noauto' mount(8) option.
authorshort <>
Sun, 12 Oct 2003 13:20:53 +0000 (13:20 +0000)
committershort <>
Sun, 12 Oct 2003 13:20:53 +0000 (13:20 +0000)
src/client/lufs/mount.captive.in

index cd2fa4d..d416e53 100755 (executable)
@@ -89,6 +89,7 @@ if ($fsname eq "ntfs") {
 $oo=";$oo;";
 $oo=~tr/,/;/;
 $oo=~s/;(ro|rw);/;--$1;/g;
+$oo=~s/;(?:no)?auto;/;/g;      # ignore
 $oo=""
                ."mntent.mnt_fsname=$image,mntent.mnt_type=captive-$fsname,"    # Double-dashes forbidden.
                ."dir_cache_entries=0,"