The process for recognizing a USB key Linux is simple.

Mandriva

Mandriva / Mandrake automatically detects USB keys and creates an icon "USB" on the desktop by which you can access the files of that key.
To remove it, right click to dismount and hop, you can remove it. The default path of the installation of these keys is / mnt / removable.

For Fedora Core, this seems similar

Debian & consort

For Debian (and derivatives), with the gnome desktop, the package gnome-volume-manager can also detect, edit and save an icon on the desktop automatically.

Manually

In all cases, it is still possible to mount the key in the old way, through the command line:

Create the directory with

Code:
# Mkdir / mnt / cle
Note : Make sure you have the tools to manage USB ports (usbutils package), if the key is recognized the following command returns a line with the brand of your key:

Code:
$ Lsusb
Mount the key

Code:
mount-t vfat / dev/sda1 / mnt / cle
Note :
If sda1 does not work, try sda, sdb or sdb1. A visit / dev can see which exist on your system. / dev/sda1 can not be created only when the key is connected.

To mount the key easily, simply add a line in fstab as root.

Code:
 # Vim / etc / fstab
Add a line on the USB drive. For example:

Code:
/ dev/sda1 / mnt / cle vfat noauto, users, noexec, rw, uid = 1000, gid = 1000 0 0
  • rw: You can read / write
  • noexec: exec by noexec change if we want to allow executions.
  • users: can allow a user to mount the device
  • uid and gid: gives additional rights to the user 1000 (my personal account in my case)
  • Then type:

    Code:
    $ Mount / mnt / cle