[uCsimm] Create a new ram file system.

From: Bobby_Lai@acer.com.tw
Date: Fri Mar 10 2000 - 04:40:09 EST

Sorry, may I ask a stupid question.

I am trying to create a 1 mega byte size ramdisk.

On my linux-PC side.
I use the commands as follows:

$ dd if=/dev/zero of=/dev/ram0 bs=2k count=512
$ mkfs.ext2 -b 2048 -N 64 /dev/ram0 512
$ dd if=/dev/ram0 of=raw1m64i.img

In the directory "ramimage" has a tool "holes" of pilot user space.

./holes raw1m64i.img > ramfs1m64i.img

But .... I copy ramfs1m64i.img to "/romdisk/ramfs.img", replace the old
ramfs.img file.

When I create a new image, expanding disk fail .....

Can someone tell me how to create a new ramdisk file for ucsimm ??

Thank you !

This message resent by the ucsimm@uclinux.com list server http://www.uClinux.com/

This archive was generated by hypermail 2b30 : Sun Apr 07 2002 - 00:01:34 EST