/etc/fstab is the file that is referenced by init to mount drives automagically on startup.
http://en.wikipedia.org/wiki/Fstab
This is also in the wrong forum and should be moved to the UNIX\Linux Forum.
A typical SAMBA mount looks like this
Code:
//ntserver/docs /mnt/samba smbfs username=docsadm,password=D1Y4x9sw 0 0
(Attr:
http://www.cyberciti.biz/faq/configu...with-etcfstab/)
Note: If you just want to mount a drive when you need it and not every time you use the computer, you don't need to do that with fstab. Just use a regular mount command. Or better yet, the GUI