[vbox-dev] [PATCH 2nd resend] VBoxServiceAutoMount: Change Linux mount code to use

Michael Thayer michael.thayer at oracle.com
Thu May 16 08:14:53 GMT 2019

Hello Sérgio,

To test whether it works with our code, you would need our whole
unmodified code tree (preferably an svn checkout, as that is where we
apply all changes first).  Apply your change, rebuild the Additions as a
whole (configure etc, kmk VBOX_ONLY_ADDITIONS=1, kmk
VBOX_ONLY_ADDITIONS=1 packing) to build an Additions installation ISO
file and use the ISO file to install Additions in the guest.

To answer your questions specifically:
Additions/common/VBoxService/VBoxServiceAutoMount.cpp is used in the
VBoxService user-mode daemon.  That daemon talks to the vboxsf.ko kernel
module.  The file is not used in the kernel module, but changes in the
file without matching changes in the kernel module can prevent the two
from working together.

I hope that was helpful.

Kind regards

15.05.19 18:12, Sérgio Basto wrote:
> On Mon, 2019-05-06 at 16:35 +0100, Sérgio Basto wrote:
>> To test it correctly I need to be sure where code of 
>> Additions/common/VBoxService/VBoxServiceAutoMount.cpp is used .
> Additions/common/VBoxService/VBoxServiceAutoMount.cpp is only guest-
> additions part ? or I do need rebuild VirtualBox host ? 
> and if is this code used by vboxsf.ko kernel module ? 
> Modifications in VBoxServiceAutoMount.cpp, what we need rebuild ? 
> just rebuild guest-additions ? it is safe think that ? 
> Thanks,

Michael Thayer | VirtualBox engineer
ORACLE Deutschland B.V. & Co. KG | Werkstr. 24 | D-71384 Weinstadt

ORACLE Deutschland B.V. & Co. KG
Hauptverwaltung: Riesstraße 25, D-80992 München
Registergericht: Amtsgericht München, HRA 95603

Komplementärin: ORACLE Deutschland Verwaltung B.V.
Hertogswetering 163/167, 3543 AS Utrecht, Niederlande
Handelsregister der Handelskammer Midden-Nederland, Nr. 30143697
Geschäftsführer: Alexander van der Ven, Jan Schultheiss, Val Maher
-------------- next part --------------
A non-text attachment was scrubbed...
Name: pEpkey.asc
Type: application/pgp-keys
Size: 2468 bytes
Desc: not available
URL: <http://www.virtualbox.org/pipermail/vbox-dev/attachments/20190516/41d1a1c4/attachment.bin>

More information about the vbox-dev mailing list