I added this line to my /etc/fstab:/

/dev/sda1 /mnt/usb      vfat    defaults        0       0/

It works and mounts my external USB drive on boot. I use it as a NAS fileserver. Not sure if editing fstab is completely "kosher" though, but I don't see the harm in it.

-James

On 11/20/2011 08:50 PM, Nedi wrote:
thanks Fernando
that works but after reboot?  I can put that in rc.local  and I have automount 
of USB after reboot?

mkdir /tmp/foo
mount -t vfat /dev/sda1 /tmp/foo

is there a better solution like autofs?

regards Nedi
------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure
contains a definitive record of customers, application performance,
security threats, fraudulent activity, and more. Splunk takes this
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

------------------------------------------------------------------------------
All the data continuously generated in your IT infrastructure 
contains a definitive record of customers, application performance, 
security threats, fraudulent activity, and more. Splunk takes this 
data and makes sense of it. IT sense. And common sense.
http://p.sf.net/sfu/splunk-novd2d
_______________________________________________
Astlinux-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/astlinux-users

Donations to support AstLinux are graciously accepted via PayPal to 
[email protected].

Reply via email to