For windows users, this may be quite frustrating for mounting partitions every time they start their OS.
For auto-mounting, you need to edit /etc/fstab file. If you add a partition in /etc/fstab file, that partition will be auto-mounted.
This line which is already present in the /etc/fstab file tell the format. –> the partition to mount for ex. /dev/sda4 or //192.168.1.1/share –> An empty folder where you want to mount the partition –> file system type for ex. ntfs-3g, smbfs etc.. –> additions options. You can simply put it "default". –> an appropriate number which decides whether to backup the partition –> 0 in most cases
So, for mounting an ntfs partition, we will write something like this:-
/dev/sda5 /media/Abhijeet ntfs-3g defaults,locale=en_IN 0 0
For mounting a samba(windows) share, add:-
//10.100.56.21/Lecture /home/shadyabhi/Lecture smbfs username=user,password=pass 0 0
Here is a sample of the /etc/fstab file i use… i use](http://docs.google.com/leaf?id=0Bz5PTCmbPL4aMzI4Y2Q1MjYtMTI3YS00M2VkLWE2NjItMTk5NDMwYjliZWYy&hl=en)…