If you have network drives that you would like to be auto-mounted on startup on your Linux box, then the obvious way to do this seems to be to put the appropriate line in /etc/fstab. (Note that for Windows shares, the appropriate packages have to be installed - samba and smbfs).
However, if the fstab is executed before the network comes up, you have a problem - the mount will fail. The workaround is to either
However, if the fstab is executed before the network comes up, you have a problem - the mount will fail. The workaround is to either
- not do auto-mount, OR
- delay the mount till the network is up OR
- to use a program written specifically for this situation - Autofs.