It's a LInux Script.......
script is here...

if you know about dd command then you can easily, understand it.
here you can change count size, bs (block size) , and mounting point /mnt/ramdisk
mke2fs is use for format it.
script is here...

dd if=/dev/zero of=/dev/ram0 count=2000 bs=1024
mke2fs /dev/ram0
mount /dev/ram0 /mnt/ramdisk
chmod 777 /mnt/ramdiskif you know about dd command then you can easily, understand it.
here you can change count size, bs (block size) , and mounting point /mnt/ramdisk
mke2fs is use for format it.