“mysharedfolder” is the name I gave it in VirtualBox under “shared folders”. I’m not certain where the folder’s path is, but there is a folder in “/media/sf_mysharedfolder”. Not sure if that’s where VirtualBox puts the actual mounted path, but likely. If that’s true, then why does the command I ran in the Terminal work?
I just found this info: HOWTO: Use Shared Folders - virtualbox.org which says that fstab is loaded before shared folders are set up. So I need to put the mounting in something that is called at the end of boot. They suggest /etc/rc.local. Will that work? What syntax would I use?
EDIT: This syntax did NOT work:
mount -t vboxsf -o rw,uid=33,gid=33 mysharedfolder /var/www/mysharedfolder