docs: initramfs: update compression and mtime descriptions
authorDavid Disseldorp <ddiss@suse.de>
Wed, 2 Apr 2025 03:39:50 +0000 (14:39 +1100)
committerChristian Brauner <brauner@kernel.org>
Mon, 7 Apr 2025 07:38:01 +0000 (09:38 +0200)
commit418556fa576ebbd644c7258a97b33203956ea232
tree20cf54c67efb0fe5e3c4d8114b476ef42da8dd2c
parent0af2f6be1b4281385b618cb86ad946eded089ac8
docs: initramfs: update compression and mtime descriptions

Update the document to reflect that initramfs didn't replace initrd
following kernel 2.5.x.
The initramfs buffer format now supports many compression types in
addition to gzip, so include them in the grammar section.
c_mtime use is dependent on CONFIG_INITRAMFS_PRESERVE_MTIME.

Signed-off-by: David Disseldorp <ddiss@suse.de>
Link: https://lore.kernel.org/r/20250402033949.852-2-ddiss@suse.de
Reviewed-by: Randy Dunlap <rdunlap@infradead.org>
Signed-off-by: Christian Brauner <brauner@kernel.org>
Documentation/driver-api/early-userspace/buffer-format.rst