Câu hỏi

25/05/2013 22:34
Có ai biết cách lấy Ram làm ổ cứng ảo trên linux ko?
Danh sách câu trả lời (1)

Trong dev/ramxx bạn chọn đại 1 thằng ....rồi mount nó ra đâu đó là ok
What is a RAM disk? A RAM disk is a portion of RAM which is being used as if it were a disk drive. RAM disks have fixed sizes, and act like regular disk partitions. Access time is much faster for a RAM disk than for a real, physical disk. However, any data stored on a RAM disk is lost when the system is shut down or powered off. RAM disks can be a great place to store temporary data.
The Linux kernel version 2.4 has built-in support for ramdisks. Ramdisks are useful for a number of things, including:
* Working with the unencrypted data from encrypted documents
* Serving certain types of web content
* Mounting Loopback file systems (such as run-from-floppy/CD distributions)
Why did I write this document? Because I needed to setup a 16 MB ramdisk for viewing and creating encrypted documents. I did not want the unencrypted documents to be written to any physical media on my workstation. I also found it amazing that I could easily create a "virtual disk" in RAM that is larger than my first hard drive, a 20 MB Winchester disk. At the time, that disk was so large that I never even considered filling it up, and I never did!
This document should take you step-by-step through the process of creating and using RAM disks.
Tham khảo tại:
http://www.vanemery.com/Linux/Ramdisk/ramdisk.html
http://gentoo-wiki.com/TIP_Speeding_up_portage_with_tmpfs
What is a RAM disk? A RAM disk is a portion of RAM which is being used as if it were a disk drive. RAM disks have fixed sizes, and act like regular disk partitions. Access time is much faster for a RAM disk than for a real, physical disk. However, any data stored on a RAM disk is lost when the system is shut down or powered off. RAM disks can be a great place to store temporary data.
The Linux kernel version 2.4 has built-in support for ramdisks. Ramdisks are useful for a number of things, including:
* Working with the unencrypted data from encrypted documents
* Serving certain types of web content
* Mounting Loopback file systems (such as run-from-floppy/CD distributions)
Why did I write this document? Because I needed to setup a 16 MB ramdisk for viewing and creating encrypted documents. I did not want the unencrypted documents to be written to any physical media on my workstation. I also found it amazing that I could easily create a "virtual disk" in RAM that is larger than my first hard drive, a 20 MB Winchester disk. At the time, that disk was so large that I never even considered filling it up, and I never did!
This document should take you step-by-step through the process of creating and using RAM disks.
Tham khảo tại:
http://www.vanemery.com/Linux/Ramdisk/ramdisk.html
http://gentoo-wiki.com/TIP_Speeding_up_portage_with_tmpfs
Trả lời câu hỏi
Câu hỏi lĩnh vực Mạng máy tính
Rao vặt Siêu Vip