1. After inserting the USB drive, enter the Fdisk-l command under Linux, as shown below
Indicates that the device has been identified and that the name of the device is SDB1.
2. Set up a mounted USB mount directory (can be customized directory)
#mkdir/mnt/usb
3. Mount the USB stick in the/mnt/usb directory
Mount command format: Mount [-parameters] [device name] [mount Point] [other parameters]
Mount-t vfat/dev/sdb1//mnt/usb-o iocharset=gb2312
-t specifies the device's file system type, where the use of-t VFAT is due to the file used by the USB flash drive
System type is FAT32, if it is NTFS use-t NTFS and so on, you can according to their own
The file system type is flexibly modified.
-o Specifies the option to mount the file system, where-o iocharset=gb2312 sets the Chinese character set.
Let's say your locale is ZH_CN. UTF-8, the corresponding command should be-o Iocharset=utf8.
Then the USB stick is mounted successfully, so you can view the contents of the USB flash drive in the directory/mnt/usb directory.
Unloading of the 4,u disk
Command UMOUNT/MNT/USB can unload a USB flash drive from the specified directory.
note that when uninstalling a USB stick, the terminal must exit from the Mount directory of the current USB drive, or the user will be busy.
Linux USB stick mount, uninstall