Lines Matching +full:d +full:- +full:cache +full:- +full:block +full:- +full:size
2 Using the RAM disk block device with Linux
14 -----------
16 The RAM disk driver is a way to use main system memory as a block device. It
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
28 the configuration symbol BLK_DEV_RAM_COUNT in the Block drivers config menu
41 ---------------------------------
46 Size of the ramdisk.
48 This parameter tells the RAM disk driver to set up RAM disks of N k size. The
63 ---------------
85 -----------------------------------------------
87 To create a RAM disk image, you will need a spare block device to
96 a) Decide on the RAM disk size that you want. Say 2 MB for this example.
106 mke2fs -vm0 /dev/ram0 2048
111 d) Compress the contents of the RAM disk. The level of compression
115 dd if=/dev/ram0 bs=1k count=2048 | gzip -v9 > /tmp/ram_image.gz
125 size would be reasonable. Make sure offset+size of ram_image.gz is
135 users may wish to combine steps (d) and (f) by using a pipe.
141 ----------
143 SEPT-2020 :
147 10-22-04 :
152 12-95 :