找回密码
 立即注册

QQ登录

只需一步,快速开始

搜索
广告投放联系QQ68610888
查看: 8495|回复: 5

[openwrt(x86)] x86 openwrt怎么充分利用硬盘

[复制链接]


我的硬盘是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,我想充分利用剩下的空间,请问该怎么弄,我想在编译的时候直接把分区分好,有大神可以指导下吗?
我的恩山、我的无线 The best wifi forum is right here.
用GParted做个启动U盘,启动后将后面分区扩容,无损升级。

点评

我想在make编译的时候就做好,这个是不是得修改内核分区表,  详情 回复 发表于 2016-3-25 16:39
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

 楼主| | 显示全部楼层
数不清 发表于 2016-3-25 16:18
用GParted做个启动U盘,启动后将后面分区扩容,无损升级。

我想在make编译的时候就做好,这个是不是得修改内核分区表,

点评

好像是make menuconfig 里调整  详情 回复 发表于 2016-3-29 21:23
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

这个简单 把剩余的用软件建一个分区 然后挂载。
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

qbxu85 发表于 2016-3-25 16:39
我想在make编译的时候就做好,这个是不是得修改内核分区表,

好像是make menuconfig 里调整
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

然并卵,更新固件的时候是全盘写,并不是分区写,你就不要在意那点空间啦
我的恩山、我的无线 The best wifi forum is right here.
回复

使用道具 举报

您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

有疑问请添加管理员QQ86788181|手机版|小黑屋|Archiver|恩山无线论坛(常州市恩山计算机开发有限公司版权所有) ( 苏ICP备05084872号 )

GMT+8, 2024-4-27 20:28

Powered by Discuz! X3.5

© 2001-2024 Discuz! Team.

| 江苏省互联网有害信息举报中心 举报信箱:js12377 | @jischina.com.cn 举报电话:025-88802724 本站不良内容举报信箱:68610888@qq.com 举报电话:0519-86695797

快速回复 返回顶部 返回列表