[BusyBox] cannot get ramdisk size > 4096 k blocks ??

Erik Andersen andersen at codepoet.org
Sun Dec 16 02:10:59 UTC 2001


On Sun Dec 16, 2001 at 09:53:55AM +0100, Paul Rensel wrote:
> Hi,
> 
> I'm trying to get a ramdisk of 16Megs to put a busybox system on.
> I'm using kernel 2.2.19 and enabled ramdisk and initrd from kernel config.
> 
> somehow i cannot get to create a ramdisk larger then 4096 k blocks.
> I tried to find something about this but all i get is a ramdisk.txt document
> which says that the ramdisk is dynamic since kernel 1.3 or something.
> 
> For example when i do: dd if=/dev/zero of=/dev/ram1 bs=1k count=16000 it
> stops after exactly the 4096 count and complains of no more space on device
> ( i have 128megs RAM so that's no problem)

You need to add the ramdisk_size=N kernel command line 
option.  See linux/Documentation/ramdisk.txt for details,

 -Erik

--
Erik B. Andersen             http://codepoet-consulting.com/
--This message was written using 73% post-consumer electrons--





More information about the busybox mailing list