[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Ramdisk on Etrax
On Wed, 13 Mar 2002, Johan Adolfsson wrote:
> Why not use the existing /tmp/ directory which is a ramdisk?
Yes do that, or at least make it a ramfs/tmpfs filesystem. Ramdisks using
ext2 on ram block devices just waste memory and complexity.
> ----- Original Message -----
> From: <firstname.lastname@example.org>
> To: <email@example.com>
> Sent: Wednesday, March 13, 2002 17:21
> Subject: Ramdisk on Etrax
> > Hello, I'm Francisco,
> > I'm making a program to Axis Etrax 100LX which is writing and reading a file on flash continuously.
> > I know that I can damage the flash memory and I'm trying to create a ramdisk to work with the file. I can do it on
> a PC with Linux, but not with the board, because I use "mke2fs" file and axis' linux distribution doesn't have it.
> > The process, witch i'm doing to create the ramdisk on PC
> > mke2fs /dev/ram 2048
> > mkdir /mnt/ramdisk
> > mount -t ext2 /dev/ram /mnt/ramdisk
> > How can I create a ramdisk in Axis Etrax 100LX??????
> > thank you,
> > Francisco