tools/testing/selftests/rcutorture/doc/initrd.txt

Source file repositories/reference/linux-study-clean/tools/testing/selftests/rcutorture/doc/initrd.txt

File Facts

System
Linux kernel
Corpus path
tools/testing/selftests/rcutorture/doc/initrd.txt
Extension
.txt
Size
684 bytes
Lines
17
Domain
Support Tooling And Documentation
Bucket
tools
Inferred role
Support Tooling And Documentation: documentation
Status
atlas-only

Why This File Exists

Repository support layer: documentation, build tooling, samples, user-space helper tools, generated initramfs support, licenses, and validation utilities.

Dependency Surface

Detected Declarations

Annotated Snippet

The rcutorture scripting tools automatically create an initrd containing
a single statically linked binary named "init" that loops over a
very long sleep() call.  In both cases, this creation is done by
tools/testing/selftests/rcutorture/bin/mkinitrd.sh.

However, if you don't like the notion of statically linked bare-bones
userspace environments, you might wish to press an existing initrd
into service:

------------------------------------------------------------------------
cd tools/testing/selftests/rcutorture
zcat /initrd.img > /tmp/initrd.img.zcat
mkdir initrd
cd initrd
cpio -id < /tmp/initrd.img.zcat
# Manually verify that initrd contains needed binaries and libraries.

Annotation

Implementation Notes