[ELDK] genext2fs problem of not allocating ramdisk image
J.Hwan.Kim
frog1120 at gmail.com
Wed Sep 30 12:24:07 CEST 2009
The DULG indicates how to use genext2fs as follows :
$ ROOTFS_DIR=rootfs # directory with root file system content
$ ROOTFS_SIZE=3700 # size of file system image
$ ROOTFS_FREE=100 # free space wanted
$ ROOTFS_INODES=380 # number of inodes
$ ROOTFS_DEVICES=rootfs_devices.tab # device description file
$ ROOTFS_IMAGE=ramdisk.img # generated file system image
$ genext2fs -U \
-d ${ROOTFS_DIR} \
-D ${ROOTFS_DEVICES} \
-b ${ROOTFS_SIZE} \
-r ${ROOTFS_FREE} \
-i ${ROOTFS_INODES} \
${ROOTFS_IMAGE}
When I do command "genext2fs -U -d rootfs -D rootfs_device.tab -b 3700 -m 10 -i 380 ramdisk.img",
it returns error message "genext2fs: couldn't allocate a block (no free space)"
How can I solve the problem?
Regards,
J.Hwan Kim
More information about the eldk
mailing list