How do I mount a USB key?

Now in common use, the USB key when inserted in the corresponding port on your computer...

are recognized by the operating system as a mass SCSI storage, the device file corresponding:

/dev/sda1

/dev/sda2

/dev/sda(n)

to perform correctly the mount of a USB key you must first create the directory myusbkey

mkdir /mnt/myusbkey

then modify with a text editor file /etc/fstab adding the following line:

/dev/sda1 /mnt/myusbkey vfat auto,user,rw 0 0

In this way any user can run the mount of a USB key with the following command:

mount -t vfat /dev/sda1 /mnt/myusbkey

The use of the information shown here is at your risk.
Cyber Methexis disclaims any liability for malfunction and/or loss of data.


Tag cloud

hardware windows software apple linux informatica sistemi operativi scripts microsoft open source sicurezza tips and tricks downloads scripting networking internet