Google Site SearchFN Site Search FN Blog Login FN Blog Login
Site Navigation:
 
 

Fedora Tips

by Krishnan Subramanian

2004-02-11 Fedora Tips 40:
Reading and writing files to USB-key can be just two clicks away if you are using Gnome. No "mount" or "umount" commands. To enjoy 2-click method, you've got to follow just two easy steps.

1. as root (or through "$su -l" from a user account) with Vim, Gedit or any other text-editor add a line to your /etc/fstab file

/dev/sda1 /mnt/usbkey vfat user,iocharset=utf8,umask=0,sync,quiet,exec,codepage=866,noauto 0 0
2. as root (or through "$su -l" from a user account) create a directory in /mnt/ file
#mkdir /mnt/usbkey
In fact it doesn't matter which step goes first.

Now reboot, so that your changes take effect.

You are about to enjoy Gnome 2-click USB method.

Plug in your usb-key right click (1st click) on desktop, in dropdown menu choose "disks". Here you go - see usbkey? Choose it by left-clicking (2nd click) and on your desktop there will be a nice icon of a USB drive. Work with it, like you would do with a regular folder. To unmount USB-key, right-click on that icon again and choose "unmount". As easy as that. Now any time you want to use your flash drive - plug, right-click & left-click to choose the drive. - submitted by Sergey Samoylov