Can't auto mount a usb stick on restart
by bmxakias from LinuxQuestions.org on (#50QH5)
Hello
I have a usb stick that has exfat file system...
I am on Centos 7 and i already installed the exfat-fuse and exfat-utils and the drive is working great...
What i try to do for the auto mounting after restart is:
Code:blkidThen i got the correct (100%) UUID and i add to /etc/fstab :
Code:UUID=12345678 /home/usbstick exfat defaults,auto,rw 0 0but after restart the usb stick was not mounted and not even listed on the /dev/sd*
i unplug it and plug it back and it was ok....
But i want to avoid that...
Any ideas for the correct mount parameters or on what to do please?
I am login as root for all the above...
I was thinking also to use a simple bash script @reboot to run the mount command as that way the parameters are not needed but it will no work as the usb stick is not there and i have to reinsert it.
I tested also on another port but nothing...
Thank you


I have a usb stick that has exfat file system...
I am on Centos 7 and i already installed the exfat-fuse and exfat-utils and the drive is working great...
What i try to do for the auto mounting after restart is:
Code:blkidThen i got the correct (100%) UUID and i add to /etc/fstab :
Code:UUID=12345678 /home/usbstick exfat defaults,auto,rw 0 0but after restart the usb stick was not mounted and not even listed on the /dev/sd*
i unplug it and plug it back and it was ok....
But i want to avoid that...
Any ideas for the correct mount parameters or on what to do please?
I am login as root for all the above...
I was thinking also to use a simple bash script @reboot to run the mount command as that way the parameters are not needed but it will no work as the usb stick is not there and i have to reinsert it.
I tested also on another port but nothing...
Thank you