本文展示將openwrt上的/usr轉移到一個空間更大的硬碟或者閃存之上 列出當前硬碟設備 fdisk -l 輸出
Disk /dev/sda: 14.8 GiB, 15837691904 bytes, 30932992 sectors
Units: sectors of 1 * 512 = 512 bytes
Sector size (logical/physical): 512 bytes / 512 bytes
I/O size (minimum/optimal): 512 bytes / 512 bytes
Disklabel type: dos
Disk identifier: 0xc1e0f78c
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 512 33279 32768 16M 83 Linux
/dev/sda2 33792 558079 524288 256M 83 Linux
/dev/sda3 559104 30932991 30373888 14.