I'm trying to auto mount a USB key on boot. The mount point always needs to be the same, for each drive that is added.
Can this be done without specifying the disks format type ?
I may be mounting vfat, or NTFS, or ext4.. it will depend on the drive supplied.
I've tried adding this to my fstab:
/dev/disk/by-label/FAT /var/run/media/rocket/FAT default,umask=002
And it does mount the disk, but permissions on the disk are:
drwxr-xr-x 4 root root and they are the same on folders within the disk.
chmod -R 777 FAT/ But that didn't update the permissions.
Any ideas ?