Connect USB storage device test
1) First insert the U disk or USB mobile hard disk into the USB interface of the Orange Pi development board
2) Execute the following command, if you can see the output of sdX, it means that the U disk is recognized successfully
orangepi@orangepi:~$ cat /proc/partitions | grep "sd*"
|
3) Use the mount command to mount the U disk to /mnt, and then you can view the files in the U disk
orangepi@orangepi:~$ sudo mount /dev/sda1 /mnt/ orangepi@orangepi:~$ ls /mnt/ |
The following command can be used to mount the U disk in exfat format on the Linux system
orangepi@orangepi:~$ sudo apt-get install exfat-utils exfat-fuse orangepi@orangepi:~$ sudo mount -t exfat /dev/sda1 /mnt/ |
4) After mounting, you can view the capacity usage and mount point of the U disk through the df -h command
orangepi@orangepi:~$ df -h | grep "sd" |