I’d like to set up a ramdisk to use for a fast file storage/retrieval filesystem. I have this in my bootargs:
ramdisk_size=16000
During bootup I see this:
RAMDISK driver initialized: 1 RAM disks of 16000K size 1024 blocksize
At the moment there are no /dev/ramx devices showing up in the /dev directory. Doing a bit of Googling it looks like I now have to create a file system, maybe something like this, but it gives me a “Could not stat” error:
# mkfs.ext2 /dev/ram0
mke2fs 1.35 (28-Feb-2004)
Could not stat /dev/ram0 --- No such file or directory. The device apparently does not exist; did you specify it correctly?
#
Could you advise me please on the configuration and steps to create a general purpose ramdisk on the EVM? Many thanks.