2.1.118 ramdisk

Charlie Ross (rossc@cs.colostate.edu)
Sat, 29 Aug 1998 15:09:42 -0600 (MDT)


I am a little confused about tht behavior of the ramdisk. According to the
Documentation/ramdisk.txt the ramdisk grows dynamically as you wright to
it but there seems to be some sort of problem in there.

If I cp /etc/fstab /dev/ram1, I get an I/O error, and when I cat /dev/ram1
to see if anything made it in, it turns out that only the first 1024 bytes
make it, and then I get a second I/O error on the read.

I have a project that requires very fast access to files.. The problem is
that my hard drives arent the fastest in the access time department, so I
was going to copy the file I needed to the ramdisk, then use it from there,
and then freeramdisk to return the used memory to the system.

Am I doing somthing wrong? or is this a bug? It seems like this should
work according to the docs.

I'm running a non-SMP 2.1.118 with the ramdisk enabled w/64Mb.

-Chuck

rossc@cs.colostate.edu

main(){char *s="\0\0\0\10\10\10\0\177AAc\0\0\177\10\10p\0\08@@8\0\0000\
HH\0\0\177\20(D\0000HH0";int i,j=-1;while((i=j++)<6)while(++i<36+j)
putchar(i-j==35?'\n':s[i]&1<<j?'*':' ');}

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.altern.org/andrebalsa/doc/lkml-faq.html