I'm running VirtualBox in Windows. I have Ubuntu Linux 10.04 installed as a VM.
Whenever I log in I have to run to following command to mount my shared Windows web dev folder:
sudo mount.vboxsf web_apps /mnt/web_apps
Where can I put this line (minus the sudo) so that it will run once when Linux boots up? I'm guessing there must be a root .profile or .login script that runs at some point?
SOLUTION:
Thanks to The Operator I figured it out, for future superusers, here's what I did:
From Terminal:
sudo nano /etc/modulesAdded the following to the bottom of the file:
vboxvfs vboxaddSave and exit. Then:
sudo nano /etc/fstabThen, at the bottom of this file added:
web_apps /mnt/web_apps vboxsf defaults 0 0