> I am very new here.
>
> Can any one help me to clear the concept of RAMDISK?
> I tried to understand with Linux man pages but there is not sufficient
> info.Please help me on understanding the this embedded terminology,
>
> I apologize in advance for the silly question.
>
> Regards and hoping for positive reply.
>
> Naushit
I don't actually know what was not clear:
1) using ramdisk
- Compile Ramdisk support into kernel
- Use block devices /dev/ram, /dev/ram[0-7] for ram disk(s).
E.g:
mkfs.minix /dev/ram 1440
mount /dev/ram /mnt/ramdisk
..
2) implementation in kernel:
- It reserves buffer_heads for storing the blocks of ramdisk.
It is marked as protected so it won't be freed [unless ramdisk driver does
it itself].. It is not swappable actually.
But if you need a swappable filesystem, take a look at:
http://www.npwt.net/~ebiederm/files
Seasons
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/
"One who has time to complain has time to submit patches." <chinese proverb>
\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/\/