auto mount pen drive

Contributor
26Mar2009,23:38   #1
divinequran's Avatar
Hi,

How do i enable auto mount file system in my system?
Ambitious contributor
24Sep2009,13:56   #2
venami's Avatar
Nowadays, all the Linux OSes come with auto-mount enabled.

If your OS doesn't have auto-mount enabled, you have to add an entry for your device in /etc/fstab file.

Example:

Quote:
/dev/sdb1 /mnt/usb vfat rw,user,auto 0 0 0
This entry means the device name is /dev/sdb1, it will be mounted on /mnt/usb(provided the folder exists), the USB is having VFAT filesystem, can be read/write by all users, and it is auto-mounted.