Linux-Noob Forums
help with usbdrive hard drive external on fedora - Printable Version

+- Linux-Noob Forums (https://www.linux-noob.com/forums)
+-- Forum: Linux Noob (https://www.linux-noob.com/forums/forum-3.html)
+--- Forum: Tips and Tricks (https://www.linux-noob.com/forums/forum-59.html)
+---- Forum: Filesystem Management (https://www.linux-noob.com/forums/forum-26.html)
+---- Thread: help with usbdrive hard drive external on fedora (/thread-3484.html)



help with usbdrive hard drive external on fedora - jsn062003 - 2004-04-08


Hi everyone,

 

How can i put in a command my usbdrive on my desktop with an icon, normally i have to mkdir /mnt/usbdrive; mount -t vfat /dev/sda1 /mnt/usbdrive, the i cd into it & then i ls, how can i make an icon with a command on my desktop to take me directly there & open my files from that icon on fedora, would appreciate an example please.

 

Johnny :(




help with usbdrive hard drive external on fedora - TormentoR - 2004-04-08


Just install automount (if you haven't got it already)

 

edit the /etc/auto.mount

and add the line:



Code:
usbdrive -fstype=vfat :/dev/sda1




 

it'll take care of mounting/unmounting it...

 

(i told you this on irc a few days back!)

 

-- TormentoR