I have a small home network consisting of two computers. One is running Windows 7 and the other Ubuntu 10.04. Neither computer is permanently on.
I am trying to set up file sharing between the two. Ideally the Windows files will be mounted whenever the Windows machine is on, and unmounted when it is not.
Currently I have added an entry to /etc/fstab to mount the share. This appears to vaguely work. However, I have noticed that it takes considerably longer to login to the Ubuntu computer if the Windows computer is not turned on. It exhibits bizarre behaviours if the Windows machine is not turned on, including not being able to interact with the desktop.
Is there a way to remove this delay, or should I set up the share in a different way?