Changes

Jump to: navigation, search

Orange Pi 5 Plus

725 bytes added, 14:55, 7 June 2023
Mount the USB storage device under the command line
# Execute the following command, if you can see the output of sdX, it means that the U disk is recognized successfully
::{| class="wikitable" style="width:800px;"|-|root@OpenWrt:~# '''cat /proc/partitions | grep &quot;sd*&quot;'''<br> <span style="margin-right: 50px;">major </span><span style="margin-right: 50px;">minor </span><span style="margin-right: 55px;">#blocks </span><span style="margin-right: 50px;">name</span><br> <span style="margin-right: 70px;margin-left: 20px;">8 </span><span style="margin-right: 70px;">0 </span><span style="margin-right: 40px;">15126528 </span><span style="margin-right: 50px;color:#FF0000">'''sda'''</span><br>|}
<ol start="3" style="list-style-type: decimal;">
<li>Use the mount command to mount the U disk to <span class="mark">/mnt</span>, and then you can view the files in the U disk</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
root@OpenWrt:~# '''mount /dev/sda /mnt/'''
test.txt
|}</ol>
<ol start="4" style="list-style-type: decimal;">
<li>After mounting, you can view the capacity usage and mount point of the U disk through the <span class="mark">df -h</span> command</li></ol>
{| class="wikitable" style="width:800px;"
|-
|
root@OpenWrt:~# '''df -h | grep &quot;sd&quot;'''
<span style="margin-right: 20px;">/dev/sda </span><span style="margin-right: 20px;">14.4G </span><span style="margin-right: 20px;">187.2M </span><span style="margin-right: 20px;">14.2G </span><span style="margin-right: 50px;">1% /mnt</span><br>|}</ol><span id="mount-the-usb-storage-device-on-the-luci-management-interface"></span>
<span id="mount-the-usb-storage-device-on-the-luci-management-interface"></span>
=== Mount the USB storage device on the LuCI management interface ===

Navigation menu