Amazon

Sunday 16 October 2011

Convert RAM into HARDDISK - LInux

It's a LInux Script.......
script is here...
http://static.howstuffworks.com/gif/ram-ch.jpg


dd if=/dev/zero of=/dev/ram0 count=2000 bs=1024
mke2fs /dev/ram0
mount /dev/ram0 /mnt/ramdisk
chmod 777 /mnt/ramdisk
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.