> I'm using 0.0.81 elks and I'm trying to make a ramdisk with the ramdisk
> utils. When I enter ramdisk, it says something like usage blablabla, but
> when I give options such as suggested by that, it says ramdisk:no such
> file or directory. Now I thought this might be a shell problem, so let me
> add that I use sash, but ash also gives the problem. What to do?

I use ash and it works fine.

Make sure you have compiled RAMdisk support into your kernel. 

Make sure you have /dev/ramX entries in place.

Use correct command line; "ramdisk /dev/ram0 make 64" (without "") works
fine on my box. Same goes for other sizes. Don't let ramdisk occupy too
much of your memory space otherwise kernel (shell ?) will crash and/or
you won't be able to run any programs.

If you have done everything as suggested please send me the output you
get from rmaidsk utility. Since you want to understand kernel it might
be helpful for you to enable debugging in ramdisk code. Make sure that
DEBUG is #defined in file ./arch/i86/drivers/block/rd.c and not #undefed
anywhere after that line. This screen dump is even more helpful than
ramdisk messages.

If you have any further questions regarding rd.c please contact me
directly.

                                                bye, Ab

Reply via email to