Lines Matching refs:RAM
1 Using the RAM disk block device with Linux
9 4) An Example of Creating a Compressed RAM Disk
15 The RAM disk driver is a way to use main system memory as a block device. It
21 The RAM disk dynamically grows as more space is required. It does this by using
22 RAM from the buffer cache. The driver marks the buffers it is using as dirty
25 The RAM disk supports up to 16 RAM disks by default, and can be reconfigured
26 to support an unlimited number of RAM disks (at your own risk). Just change
30 To use RAM disk support with your system, run './MAKEDEV ram' from the /dev
31 directory. RAM disks are all major number 1, and start with minor number 0
34 The new RAM disk also has the ability to load compressed RAM disk images,
47 This parameter tells the RAM disk driver to set up RAM disks of N k size. The
69 to 2 MB (2^11) of where to find the RAM disk (this used to be the size). Bit
70 14 indicates that a RAM disk is to be loaded, and bit 15 indicates whether a
71 prompt/wait sequence is to be given before trying to read the RAM disk. Since
72 the RAM disk dynamically grows as data is being written into it, a size field
81 kernel on disk one, and have already put a RAM disk image onto disk #2.
83 Hence you want to set bits 0 to 13 as 0, meaning that your RAM disk
87 You want bit 14 as one, indicating that a RAM disk is to be loaded.
107 4) An Example of Creating a Compressed RAM Disk
110 To create a RAM disk image, you will need a spare block device to
111 construct it on. This can be the RAM disk device itself, or an
113 example, we will use the RAM disk device, "/dev/ram0".
116 of RAM. If using a spare disk partition instead of /dev/ram0, then this
119 a) Decide on the RAM disk size that you want. Say 2 MB for this example.
120 Create it by writing to the RAM disk device. (This step is not currently
134 d) Compress the contents of the RAM disk. The level of compression
136 space on the RAM disk will compress to almost nothing.
144 f) Put the RAM disk image onto the floppy, after the kernel. Use an offset
147 the RAM disk image. An offset of 400 kB for kernels about 350 kB in
153 g) Use "rdev" to set the boot device, RAM disk offset, prompt flag, etc.
160 That is it. You now have your boot/root compressed RAM disk floppy. Some