David Christensen composed on 2021-08-01 15:29 (UTC-0700):

> 2021-08-01 14:10:24 root@dipsy /tmp/initrd.img-4.19.0-17-amd64
> # gunzip -c /boot/initrd.img-4.19.0-17-amd64 | cpio -i -d -H newc 
> --no-absolute-filenames
> 246741 blocks
                                                                                
        
If only searching whether a string is contained therein, or wanting a list,
it can be simpler:

# uname -v
#1 SMP Debian 5.10.46-3 (2021-07-28)
# which lsinitrd
/usr/bin/lsinitrd
# apt-file search /usr/bin/lsinitrd
dracut-core: /usr/bin/lsinitrd
# lsinitrd /initrd.img | wc -l
455
-- 
Evolution as taught in public schools is, like religion,
        based on faith, not based on science.

 Team OS/2 ** Reg. Linux User #211409 ** a11y rocks!

Felix Miata

Reply via email to