auto mount pen drive

divinequran's Avatar, Join Date: Oct 2008
Contributor
Hi,

How do i enable auto mount file system in my system?
0
venami's Avatar, Join Date: Dec 2008
Ambitious contributor
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.