A20 nand最大化命令

最近给nand刷了linux(给A20),还没用呢,空间已经占了92%了


重启后在把nand的使用空间最大化


resize2fs /dev/nandd


root@cubieboard:~# nand-part  /dev/nand 'rootfs 0x10000'
-bash: nand-part: command not found(………………)
root@cubieboard:~# df
Filesystem     1K-blocks   Used Available Use% Mounted on
/dev/nandd        931488 812600     72196  92% /
none               99872    204     99668   1% /run
none                5120      0      5120   0% /run/lock
none              499352      0    499352   0% /run/shm
none              102400     12    102388   1% /run/user
root@cubieboard:~# resize2fs /dev/nandd
resize2fs 1.42.5 (29-Jul-2012)
Filesystem at /dev/nandd is mounted on /; on-line resizing required
old_desc_blocks = 1, new_desc_blocks = 1
The filesystem on /dev/nandd is now 524288 blocks long.

root@cubieboard:~# df
Filesystem     1K-blocks   Used Available Use% Mounted on
/dev/nandd       2092756 825492   1178632  42% /
none               99872    204     99668   1% /run
none                5120      0      5120   0% /run/lock
none              499352      0    499352   0% /run/shm
none              102400     12    102388   1% /run/user




你可能感兴趣的:(A20 nand最大化命令)