How to convert RAM into HARDDISK

Hello Friends.... I am back with a amazing trick that i learn during Shell Scripting....
yeh bad news for windows lover, it is for linux :)
so 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/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.




enjoy nyt....
have a sound sleep....

3 comments:

  1. Thanks for this, I have linux on my home computer so I'll have to try this out when I get back.

    ReplyDelete
  2. I definitely might end up using this.

    Check out my math blog.

    ReplyDelete
  3. its useful to me,mostly i always use linux os.well,i will try it once.

    ReplyDelete

Any Query, Suggestion Please Comment Here