how to mount a usb storage automatic ?
Hi , everybody
I have a usb disk , it's filesystem is vfat .
my os is redhat 72,
now , I use the usb disk always type the command :
mount -t vfat /dev/sda1 /mnt/usb
is there any way that when I insert the usb disk ,
linux can mount it automatic ?
through bash script or c programming ?
thanks a lot .
Well I don't know about having it mount it automatically when you stick the card in...not likely...but it would make things easier if you stuck this in your /etc/fstab:
/dev/sda1 /mnt/usb auto noauto,user 0 0
Then as any user, when you want to mount it, just type:
Easier at least...
thank you much ,
become my usb storage is used in a embeded board ,
you can't type mount etc .
|All times are GMT -5. The time now is 11:08 PM.|