打开主菜单

Wiki-Orange Pi β

更改

Orange Pi 5 Plus

添加63字节, 2023年5月31日 (三) 17:14
在命令行下挂载USB存储设备
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>
|}
 
major minor #blocks name
 
8 0 15126528 '''sda'''
<ol start="3" style="list-style-type: decimal;">
<li>使用mount命令可以将U盘挂载到/mnt中,然后就能查看U盘中的文件了</li></ol>
{| class="wikitable" style="width:800px;" |-|
root@OpenWrt:~# '''mount /dev/sda /mnt/'''
test.txt
|}
<ol start="4" style="list-style-type: decimal;">
<li>挂载完后通过df -h命令就能查看U盘的容量使用情况和挂载点</li></ol>
{| class="wikitable" style="width:800px;" |-|
root@OpenWrt:~# '''df -h | grep &quot;sd&quot;'''
/dev/sda 14.4G 187.2M 14.2G 1% /mnt
|}
<span id="在luci管理界面挂载usb存储设备"></span>
8,460
个编辑