|
我的硬盘是8G的,系统起来后是这样的
root@OpenWrt:~# cat /proc/mtd
dev: size erasesize name
mtd0: 04000000 00010000 "rootfs"
mtd1: 02ec0000 00010000 "rootfs_data"
root@OpenWrt:~# cat /proc/partitions
major minor #blocks name
8 0 7825104 sda
8 1 8192 sda1
8 2 65536 sda2
31 0 65536 mtdblock0
31 1 47872 mtdblock1
root@OpenWrt:~# fdisk -l
Disk /dev/sda: 7.5 GiB, 8012906496 bytes, 15650208 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: 0xbce174a2
Device Boot Start End Sectors Size Id Type
/dev/sda1 * 512 16895 16384 8M 83 Linux
/dev/sda2 17408 148479 131072 64M 83 Linux
Disk /dev/mtdblock0: 64 MiB, 67108864 bytes, 131072 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
Disk /dev/mtdblock1: 46.8 MiB, 49020928 bytes, 95744 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
能用的空间只有8M+64M,我想充分利用剩下的空间,请问该怎么弄,我想在编译的时候直接把分区分好,有大神可以指导下吗?
|
|