Lines Matching full:ram

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