Lines Matching refs:disk
2 Using the RAM disk block device with Linux
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
26 The RAM disk supports up to 16 RAM disks by default, and can be reconfigured
31 To use RAM disk support with your system, run './MAKEDEV ram' from the /dev
35 The new RAM disk also has the ability to load compressed RAM disk images,
37 rescue floppy disk.
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
78 Consider a typical two floppy disk setup, where you will have the
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.
93 So to create disk one of the set, you would do::
99 If you make a boot disk that has LILO, then for the above, you would use::
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
113 unused disk partition (such as an unmounted swap partition). For this
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