Sometimes you need to upload some files to the server through a USB flash drive or other, you need to mount the USB flash drive to see the files on the USB drive.
USB stick into the server, fdisk-l view the hardware name of the USB drive
[Email protected] ~]# fdisk-l
disk/dev/sdb:7759 MB, 7759462400 bytes
Heads, Sectors/track, 7517 cylinders
Units = Cylinders of * 1032192 bytes
Sector size (logical/physical): bytes/512 bytes
I/O size (minimum/optimal): bytes/512 bytes
Disk identifier:0x1cf71c71
Device Boot Start End Blocks Id System
/DEV/SDB1 1 7517 7577104+ b W95 FAT32
disk/dev/sdb:7759 MB, is a 8G u disk.
Build a USB directory in the MNT directory, MKDIR/MNT/USB
Mount USB flash drive: Mount-t VFAT/DEV/SDB1/MNT/USB
Uninstall USB: Umount/mnt/usb
Mount file format for NTSF file format hard drive
#mount-T NTFS/DEV/SDC1/MNT/USBHD1
Linux mounted USB flash drive