* How to build more than 16M ramdisk for u-boot
@ 2005-08-19 2:01 徐小威
2005-08-19 6:15 ` Grant Likely
0 siblings, 1 reply; 3+ messages in thread
From: 徐小威 @ 2005-08-19 2:01 UTC (permalink / raw)
To: linuxppc-embedded
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
^ permalink raw reply [flat|nested] 3+ messages in thread* Re: How to build more than 16M ramdisk for u-boot 2005-08-19 2:01 How to build more than 16M ramdisk for u-boot 徐小威 @ 2005-08-19 6:15 ` Grant Likely 0 siblings, 0 replies; 3+ messages in thread From: Grant Likely @ 2005-08-19 6:15 UTC (permalink / raw) To: ?????????, linuxppc-embedded 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 ^ permalink raw reply [flat|nested] 3+ messages in thread
[parent not found: <43C18850A2E42CD14825706200226758.0022678048257062@opnet.com.tw>]
[parent not found: <001401c5a494$ffd659c0$1a0e000a@RoberHsu>]
* Re: How to build more than 16M ramdisk for u-boot [not found] ` <001401c5a494$ffd659c0$1a0e000a@RoberHsu> @ 2005-08-19 20:06 ` Grant Likely 0 siblings, 0 replies; 3+ messages in thread From: Grant Likely @ 2005-08-19 20:06 UTC (permalink / raw) To: ???, linuxppc-embedded 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. ^ permalink raw reply [flat|nested] 3+ messages in thread
end of thread, other threads:[~2005-08-19 20:09 UTC | newest]
Thread overview: 3+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2005-08-19 2:01 How to build more than 16M ramdisk for u-boot 徐小威
2005-08-19 6:15 ` Grant Likely
[not found] <43C18850A2E42CD14825706200226758.0022678048257062@opnet.com.tw>
[not found] ` <001401c5a494$ffd659c0$1a0e000a@RoberHsu>
2005-08-19 20:06 ` Grant Likely
This is a public inbox, see mirroring instructions for how to clone and mirror all data and code used for this inbox; as well as URLs for NNTP newsgroup(s).