Lines Matching +full:d +full:- +full:cache +full:- +full:size
9 3) Using "rdev -r"
14 -----------
18 in order to access the root filesystem (see Documentation/admin-guide/initrd.rst). It can
23 RAM from the buffer cache. The driver marks the buffers it is using as dirty
41 ---------------------------------
46 Size of the ramdisk.
48 This parameter tells the RAM disk driver to set up RAM disks of N k size. The
62 3) Using "rdev -r"
63 ------------------
65 The usage of the word (two bytes) that "rdev -r" sets in the kernel image is
66 as follows. The low 11 bits (0 -> 10) specify an offset (in 1 k blocks) of up
67 to 2 MB (2^11) of where to find the RAM disk (this used to be the size). Bit
70 the RAM disk dynamically grows as data is being written into it, a size field
97 /usr/src/linux# rdev -r /dev/fd0 49152
109 -----------------------------------------------
120 a) Decide on the RAM disk size that you want. Say 2 MB for this example.
130 mke2fs -vm0 /dev/ram0 2048
135 d) Compress the contents of the RAM disk. The level of compression
139 dd if=/dev/ram0 bs=1k count=2048 | gzip -v9 > /tmp/ram_image.gz
149 size would be reasonable. Make sure offset+size of ram_image.gz is
159 rdev -r /dev/fd0 49552
162 users may wish to combine steps (d) and (f) by using a pipe.
168 ----------
170 10-22-04 :
176 12-95 :