How to create RAM drive?
Hello everybody!
I would like to create a RAM drive using my Slackware 9. I tried compiling the RAM disk option and set the size as I wish (of course in Mx1024) in to the kernel. I check the ramdisk.txt which comes with the kernel doc, that doesn't come helpful. Basically, I want a RAM drive so I can mount it like any other drive. And use it like any other drive. Specifically, I want to do video editing/recording (maybe not a smart idea for recording :). Oh yuh, one more question. I have 1GB of RAM on my comp. Why is /proc/meminfo reporting 9024XX(can't remember the exact number)? Thanks in advance. Kheng Teong. |
My /var/log/demsg says:
Quote:
|
In other words I just need to compile the kernel to support RAM disk and access it by mounting /dev/ramX.
So after booting up my Linux, just format it using mke2fs [-j] /dev/ram0 and then mount /dev/ram0 /mnt/ramdrive and then I would able to use it as I wish. Please correct me if I am wrong or missing out any steps. Thanks. |
Quote:
|
All times are GMT -5. The time now is 04:16 PM. |