<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.0//EN" "http://www.w3.org/TR/REC-html40/strict.dtd"><html><head><meta name="qrichtext" content="1" /><style type="text/css">p, li { white-space: pre-wrap; }</style></head><body style=" font-family:'Sans Serif'; font-size:10pt; font-weight:400; font-style:normal;">On Thursday 12 March 2009 01:13:29 Jorge Gajon wrote:<br>
> Hi, I've been playing with VirtualBox recently and I have a Slackware<br>
> system running as a guest on a virtual machine. I built and installed<br>
> the "virtualbox-ose-addons" package from SBo.<br>
><br>
> Everything worked okay except for mounting VirtualBox shared folders<br>
> from within the guest. The reason was that the "mount" program could<br>
> not locate the helper program needed to do the mounting. "mount" tries<br>
> to find helper programs at the "/sbin" directory, but the<br>
> "mount.vboxsf" program built by the slackbuild was installed at<br>
> "/usr/sbin".<br>
><br>
> A simple soft link resolves the issue.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Oh my. Thank you very much for that report. I had this issue for a long time but never found a solution. That it would be so simple.....<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>> I suggest adding these two<br>
> lines to the "doinst.sh" of the slackbuild:<br>
><br>
> ( cd sbin ; rm -rf mount.vboxsf )<br>
> ( cd sbin ; ln -sf /usr/sbin/mount.vboxsf mount.vboxsf )<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Not necessary. You can directly modify it in the script. Change<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p> install -m 4755 mountvboxsf $PKG/usr/sbin/mount.vboxsf<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>to<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p> install -m 4755 mountvboxsf $PKG/sbin/mount.vboxsf<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>If you can confirm that this works for you too I will update the script.<br>
<p style="-qt-paragraph-type:empty; margin-top:0px; margin-bottom:0px; margin-left:0px; margin-right:0px; -qt-block-indent:0; text-indent:0px; -qt-user-state:0;"><br></p>Grs,<br>
Heinz</p></body></html>