Linux-Noob Forums

Full Version: help with usbdrive hard drive external on fedora
You're currently viewing a stripped down version of our content. View the full version with proper formatting.

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 :(


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