quickie on 2.0 ramdisk and buffers

Bjorn Wesen (bjorn@sparta.lu.se)
Wed, 1 Dec 1999 00:12:55 +0100 (MET)

I thought the idea with the ramdisk was that it is simply buffers that
don't belong to a physical device. When creating, say, a 512 kbyte
filesystem on /dev/ram0 the amount of buffers go up by about 512 kbyte so
that's ok. And if I write a file to the mounted ramdisk the amount of
buffers dont go up. But for example mkdir/rmdir causes yet more buffers to
be allocated. I found that weird. Before I go digging deep, I just wanted
to confirm that no more buffers should be allocated by the kernel for
operations on the ramdisk blocks ? Filesystem was ext2, kernel 2.0.33.


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.tux.org/lkml/