[systemd-devel] Errors mounting vbox shares

Karel Zak kzak at redhat.com
Fri Jan 7 09:57:29 PST 2011


On Fri, Jan 07, 2011 at 04:01:13AM +0100, Michael Biebl wrote:
> I have the following line in /etc/fstab inside my VirtualBox test system:
> 
> vboxshare /share vboxsf noauto 0 0
> 
> vboxshare is a shared folder between my host and guest system which I
> use for data exchange.
> It requires the vboxsf kernel module to be loaded.
> 
> Running mount /share after login works perfectly.
> If I switch noauto to auto, I get the following during boot:
> 
> /sbin/mount.vboxsf: invalid option -- 'f'
> Usage: /sbin/mount.vboxsf [OPTIONS] NAME MOUNTPOINT
> Mount the VirtualBox shared folder NAME from the host system to MOUNTPOINT.
> 
>   -w                    mount the shared folder writably (the default)
>   -r                    mount the shared folder read-only
>   -n                    do not create an mtab entry
>   -o OPTION[,OPTION...] use the mount options specified

This mount helper is incomplete. All helpers have to support -f option.
man mount:

  The syntax of external mount helpers is:

      /sbin/mount.<suffix> spec dir [-sfnv] [-o options]

 Karel

-- 
 Karel Zak  <kzak at redhat.com>
 http://karelzak.blogspot.com


More information about the systemd-devel mailing list