[systemd-devel] Errors mounting vbox shares
Lennart Poettering
lennart at poettering.net
Fri Jan 7 06:21:34 PST 2011
On Fri, 07.01.11 04:01, Michael Biebl (mbiebl at gmail.com) 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.
Hmm, no idea where -f might come from, we don't pas it to mount.
> I don't get this error message when booting with sysinit+the legacy
> sysv fsck/mount init scripts.
>
> What's going wrong here? Is mount.vboxsf to blame or systemd?
I'd guess vbox. But it's hard to say from the distance.
If you boot with systemd.log_level=debug you should see what mount
command systemd is actually invoking. That might be helpful to figure
out what is going on.
Lennart
--
Lennart Poettering - Red Hat, Inc.
More information about the systemd-devel
mailing list