1 The rcutorture scripting tools automatically c 1 The rcutorture scripting tools automatically create an initrd containing 2 a single statically linked binary named "init" 2 a single statically linked binary named "init" that loops over a 3 very long sleep() call. In both cases, this c 3 very long sleep() call. In both cases, this creation is done by 4 tools/testing/selftests/rcutorture/bin/mkinitr 4 tools/testing/selftests/rcutorture/bin/mkinitrd.sh. 5 5 6 However, if you don't like the notion of stati 6 However, if you don't like the notion of statically linked bare-bones 7 userspace environments, you might wish to pres 7 userspace environments, you might wish to press an existing initrd 8 into service: 8 into service: 9 9 10 ---------------------------------------------- 10 ------------------------------------------------------------------------ 11 cd tools/testing/selftests/rcutorture 11 cd tools/testing/selftests/rcutorture 12 zcat /initrd.img > /tmp/initrd.img.zcat 12 zcat /initrd.img > /tmp/initrd.img.zcat 13 mkdir initrd 13 mkdir initrd 14 cd initrd 14 cd initrd 15 cpio -id < /tmp/initrd.img.zcat 15 cpio -id < /tmp/initrd.img.zcat 16 # Manually verify that initrd contains needed 16 # Manually verify that initrd contains needed binaries and libraries.
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.