Clarify the BLK_DEV_INITRD Kconfig help info.
PATCH 1/1 Clarify the BLK_DEV_INITRD Kconfig help info.
Signed-off-by Robert P. J. Day <[email protected]>
---
the current Kconfig help info for BLK_DEV_INITRD is really quite inadequate and misleading.
init/Kconfig +18 -9
@@ -394,15 +394,24 @@ config BLK_DEV_INITRD bool "Initial RAM filesystem and RAM disk (initramfs/initrd) support" depends on BROKEN || !FRV help - The initial RAM filesystem is a ramfs which is loaded by the - boot loader (loadlin or lilo) and that is mounted as root - before the normal boot procedure. It is typically used to - load modules needed to mount the "real" root file system, - etc. See <file:Documentation/initrd.txt> for details. - - If RAM disk support (BLK_DEV_RAM) is also included, this - also enables initial RAM disk (initrd) support and adds - 15 Kbytes (more on some other architectures) to the kernel size. + The initial RAM filesystem (or "initrd" for short) is a ramfs + which is loaded early in the boot process, and is typically used + to load modules that are needed to later mount the "real" root + filesystem. (See the file Documentation/initrd.txt for details.) + + Once you enable this option, you can supply an initrd via one of + two locations: + + 1) an "in-kernel" compressed cpio-format filesystem, or + 2) supplied by a boot loader (say, LILO or GRUB), where that + external filesystem can have one of a number of formats such + as compressed cpio, ext2, etc. + + *Note* that selecting this option for early initrd support has + nothing to do with RAM disk support selected by the BLK_DEV_RAM + option in drivers/block/Kconfig, which gives you RAM disk support + *after* the system has finished booting. These are two entirely + independent configuration options. If unsure say Y.
====================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA
http://crashcourse.ca
====================================
scratch this patch, it's just plain wrong. sorry.
rday
====================================
Robert P. J. Day
Linux Consulting, Training and Annoying Kernel Pedantry Waterloo, Ontario, CANADA
http://crashcourse.ca
====================================