Automount vfat (w95 fat32 LBA) on Centos – Managing your servers can streamline the performance of your team by allowing them to complete complex tasks faster. Plus, it can enable them to detect problems early on before they get out of hand and compromise your business. As a result, the risk of experiencing operational setbacks is drastically lower.
But the only way to make the most of your server management is to perform it correctly. And to help you do so, this article will share nine tips on improving your server management and fix some problem about linux, centos, mount, automount, .
I’m trying to mount an USB flash drive formatted as w95 fat32 LBA (as reported by dmesg) under Centos. I can easily mount it using the mount command:
mount /dev/sdx1 /media/mydrive -t vfat
But it seems that the system (Centos 6.3) cannot mount it automatically. It mounts all the other filesystem types automatically. I also installed fuse-ntfs and it correctly mounts NTFS drives.
How can I enable automount for vfat partiotions too?
Add this line to the end of /etc/fstab:
/dev/sdx1 /media/mydrive vfat default 0 0
sudo reboot -n
defaults means use default settings, equivalent to rw,suid,dev,exec,auto,nouser,async. Read more with
add this to /etc/fstab:
/media/mydrive /dev/sdx1 vfat defaults 0 0
check that all works by command