How to build more than 16M ramdisk for u-boot

2005-08-19 Thread 徐小威
Hi all:

I found if i build ramdisk more than 16M, i'll got error at using
mke2fs command.

dd if=/dev/zero of=ramdisk bs=1024k count=20

/sbin/mke2fs -F m0 ramdisk
mke2fs 1.36 (05-Feb-2005)
mke2fs: bad blocks count - ramdisk


why ?

I used FC3  eldk 3.1.1.


Best Regard,
Rober Hsu








How to build more than 16M ramdisk for u-boot

2005-08-19 Thread Grant Likely
On Fri, Aug 19, 2005 at 10:01:58AM +0800, ? wrote:
 Hi all:
 
 I found if i build ramdisk more than 16M, i'll got error at using
 mke2fs command.
 
 dd if=/dev/zero of=ramdisk bs=1024k count=20
 
 /sbin/mke2fs -F m0 ramdisk
 mke2fs 1.36 (05-Feb-2005)
 mke2fs: bad blocks count - ramdisk
typo?

try: /sbin/mke2fs -F -m0 ramdisk



How to build more than 16M ramdisk for u-boot

2005-08-19 Thread Grant Likely
On Fri, Aug 19, 2005 at 04:07:04PM +0800, ??? wrote:
 Hi Grant:
 
I'm already try it.But it still fail.Why i used so large ramdisk, is
 because net-snmp 5.x.x
 are too big, snmpd + snmptrapd almost 10M byte.
I think you're missunderstanding me.

/sbin/mke2fs -F m0 ramdisk means:
create ext2 filesystem on file 'm0' of size 'ramdisk'
/sbin/mke2fs -F -m0 ramdisk means:
create ext2 filesystem on file 'ramdisk' with 0% reserved

It looks like your missing a dash (-) for the 'm' option

g.