Step 1: view the USB flash disk Information
First, run the sudo fdisk-l command to check where the USB flash disk is located, that is, where the USB disk is mounted.
(If the fdisk-l command is used directly without any results, you must add sudo to run it as an administrator)
After viewing this information, you may see the following information:
Disk/dev/SDA: 250.1 GB, 250059350016 bytes
255 heads, 63 sectors/track, 30401 Cylinders
Units = cylinders of 16065*512 = 8225280 bytes
Sector size (logical/physical): 512 bytes/512 bytes
I/O size (minimum/optimal): 512 bytes/512 bytes
Disk identifier: 0x2076fe3d
Device boot start end blocks ID system
/Dev/sda1*1 3984 32001448 + 7 HPFs/NTFS
/Dev/sda2 3985 30401 212194552 + F w95 ext 'd (LBA)
/Dev/sda5 3985 11952 64002928 + B w95 FAT32
/Dev/sda6 11953 19920 64002928 + B w95 FAT32
/Dev/sda7 19921 30401 84188601 7 HPFs/NTFS
Disk/dev/SDC: 127 MB, 127139840 bytes
8 heads, 32 sectors/track, 970 Cylinders
Units = cylinders of 256*512 = 131072 bytes
Sector size (logical/physical): 512 bytes/512 bytes
I/O size (minimum/optimal): 512 bytes/512 bytes
Disk identifier: 0x00000000
Device boot start end blocks ID system
/Dev/sdc1 1 970 124115 B w95 FAT32
Partition 1 has different physical/logical beginnings (non-Linux ?) :
Phys = (0, 2, 0) logical = (0, 2, 27)
From the last few lines, we can see that the U disk is mounted under/dev/sdc1. Remember this mount point, which varies according to the Linux system.
Step 2: mount the USB flash drive to the specified Node
We mounted the U disk to the/mnt/USB directory (we can see that it is a USB flash drive in FAT32 format)
# Mount-T vfat/dev/sdc1/mnt/USB
If it is an ntfs u disk, it is similar to the following:
# Sudo Mount-T ntfs-3g/dev/sdc1/mnt/USB
/Mnt/USB: Specify the node you want to attach.
Then you can access the USB flash disk through CD/mnt/USB.
Step 3: unmount the USB flash drive
Run the following command: # sudo umount/mnt/USB flash drive is uninstalled (Note: you cannot enter the preceding command in the/mnt/USB directory, otherwise, the system will think that your "device is busy" and refuse to detach the USB flash drive ).