When I try to have autofs mount a vboxsf share in the same way that's worked for years, I now get the following error:
Code: Select all
sudo automount -f -v
Starting automounter version 5.0.8, master map /etc/auto.master
using kernel protocol version 5.02
mounted indirect on /mnt/auto with timeout 5, freq 2 seconds
ghosting enabled
attempting to mount entry /mnt/auto/hostdownloads
>> /sbin/mount.vboxsf: invalid option -- 's'
I believe the problem is explained in
this thread. Basically, autofs always passes the -s option to mount and mount used to only pass the -s option on to nfs mounts, but as of some recent update (not sure when but sometime in 2015), mount passes the -s option to all mount helpers, including /sbin/mount.vboxsf. In the thread above, they're talking about mount.ntfs-3g also balking at the -s option being passed to it, and the solution they decided on was to update mount.ntfs-3g to accept -s. So I propose that mount.vboxsf also be updated to accept the -s option.
I'm using the latest VirtualBox 4.3.28 with Lubuntu 14.10 and the mount version is 2.25.1 after updating with 'apt-get upgrade'. I guess it's possible this has already been fixed in a VirtualBox development branch but I'm not sure how to check that.
Is there any other way I might fix this problem?