Note: The following actions are to be performed in the root case;
- Create a new USB directory in the/mnt/directory;
- cd/mnt/
- mkdir USB
- sudo fdisk–l view hard disk information, plug in the USB stick, fdisk–l, see if there is a new hard drive to add up
- Then mount: sudo mount–t vfat/dev/sdb/mnt/usb (-t vfat refers to the fat format,/DEV/SDB refers to the USB stick,/mnt/usb is the place to mount)
- Cd/mnt/usb viewing the contents of a USB flash drive
- If you do not create a new file, then sudo umount/dev/sdb if the file disappears, and then mount, and display, it means that the mount was successful;
- When mounting the USB stick on the development Board, pay attention to whether the Development Board supports NTFS-formatted USB flash drive, does not support the NTFS-formatted Development Board, and can view the USB drive information with the FDISK-L command, but the mount is unsuccessful and will report an error;
Linux mount USB flash drive