aboutsummaryrefslogtreecommitdiffstats
path: root/Documentation/ramdisk.txt
diff options
context:
space:
mode:
Diffstat (limited to 'Documentation/ramdisk.txt')
-rw-r--r--Documentation/ramdisk.txt18
1 files changed, 8 insertions, 10 deletions
diff --git a/Documentation/ramdisk.txt b/Documentation/ramdisk.txt
index 52f75b7d51c..6c820baa19a 100644
--- a/Documentation/ramdisk.txt
+++ b/Documentation/ramdisk.txt
@@ -22,16 +22,14 @@ The RAM disk dynamically grows as more space is required. It does this by using
22RAM from the buffer cache. The driver marks the buffers it is using as dirty 22RAM from the buffer cache. The driver marks the buffers it is using as dirty
23so that the VM subsystem does not try to reclaim them later. 23so that the VM subsystem does not try to reclaim them later.
24 24
25Also, the RAM disk supports up to 16 RAM disks out of the box, and can 25The RAM disk supports up to 16 RAM disks by default, and can be reconfigured
26be reconfigured to support up to 255 RAM disks - change "#define NUM_RAMDISKS" 26to support an unlimited number of RAM disks (at your own risk). Just change
27in drivers/block/rd.c. To use RAM disk support with your system, run 27the configuration symbol BLK_DEV_RAM_COUNT in the Block drivers config menu
28'./MAKEDEV ram' from the /dev directory. RAM disks are all major number 1, and 28and (re)build the kernel.
29start with minor number 0 for /dev/ram0, etc. If used, modern kernels use 29
30/dev/ram0 for an initrd. 30To use RAM disk support with your system, run './MAKEDEV ram' from the /dev
31 31directory. RAM disks are all major number 1, and start with minor number 0
32The old "ramdisk=<ram_size>" has been changed to "ramdisk_size=<ram_size>" to 32for /dev/ram0, etc. If used, modern kernels use /dev/ram0 for an initrd.
33make it clearer. The original "ramdisk=<ram_size>" has been kept around for
34compatibility reasons, but it may be removed in the future.
35 33
36The new RAM disk also has the ability to load compressed RAM disk images, 34The new RAM disk also has the ability to load compressed RAM disk images,
37allowing one to squeeze more programs onto an average installation or 35allowing one to squeeze more programs onto an average installation or