|
请问gnextfs工具如何才能支持16M的文件压缩?
genext2fs_14 -b 16384 -D device_table.txt -d /romfs /images/ramdisk
genext2fs_14: couldn't allocate a block (no free space)
我用dd命令制作ram盘时,拷贝了使用genext2fs -b 8192时dev目录中的设备节点,
...
crw-rw-rw- 1 root root 4, 8 Jan 1 1970 tty8
crw-rw-rw- 1 root root 4, 9 Jan 1 1970 tty9
crw-rw-rw- 1 root root 3, 0 Jan 1 1970 ttyp0
crw-rw-rw- 1 root root 3, 1 Jan 1 1970 ttyp1
crw-rw-rw- 1 root root 3, 2 Jan 1 1970 ttyp2
crw-rw-rw- 1 root root 3, 3 Jan 1 1970 ttyp3
crw-rw-rw- 1 root root 3, 4 Jan 1 1970 ttyp4
crw-rw-rw- 1 root root 3, 5 Jan 1 1970 ttyp5
crw-rw-rw- 1 root root 3, 6 Jan 1 1970 ttyp6
crw-rw-rw- 1 root root 3, 7 Jan 1 1970 ttyp7
crw-rw-rw- 1 root root 3, 8 Jan 1 1970 ttyp8
crw-rw-rw- 1 root root 3, 9 Jan 1 1970 ttyp9
crw-rw-rw- 1 root root 4, 64 Jan 1 1970 ttyS0
crw-rw-rw- 1 root root 4, 65 Jan 1 1970 ttyS1
crw-rw-rw- 1 root root 1, 9 Jan 1 1970 urandom
crw-rw-rw- 1 root root 1, 5 Jan 1 1970 zero
串口仍然显示
process '/bin/login' (pid 126) exited. Scheduling for restart.
Can't open /dev/ttyS0: No such file or directory
而使用genext2fs -b 8192时创建的文件系统没有任何问题,但就是romfs文件一大了,打包为16M不行 |
|