Re: initrd inspection

2020-11-23 Thread Stefan Monnier
>> > Hm. Apt-file search says (Buster) that /usr/bin/lsinitrd is in package >> > dracut-core (not installed in my box, so I can't double check now). >> initramfs-tools-core: /usr/bin/lsinitramfs Apparently `lsinitrd` only lists the contents of the first archive, whereas `lsinitramfs` lists the con

Re: initrd inspection (was: Size of initrd)

2020-11-23 Thread Felix Miata
Curt composed on 2020-11-23 12:39 (UTC): > tomas wrote: >> The initramfs is a compressed cpio archive (of the initial file >> system at boot time). You can inspect it like so: >> gunzip < /boot/initrd.img-4.19.0-10-amd64 | cpio -it | less > lsinitramfs /boot/initrd.img-4.19.0-10-amd64 If

Re: initrd inspection

2020-11-23 Thread tomas
On Mon, Nov 23, 2020 at 12:19:02PM +0100, Sven Hartge wrote: > to...@tuxteam.de wrote: > > On Mon, Nov 23, 2020 at 01:36:05AM -0500, Felix Miata wrote: > >> Tomas composed on 2020-11-21 22:46 (UTC+0100): > > >>> You can inspect it like so: > >> > >>> gunzip < /boot/initrd.img-4.19.0-10-amd64 |

Re: initrd inspection

2020-11-23 Thread Sven Hartge
to...@tuxteam.de wrote: > On Mon, Nov 23, 2020 at 01:36:05AM -0500, Felix Miata wrote: >> Tomas composed on 2020-11-21 22:46 (UTC+0100): >>> You can inspect it like so: >> >>> gunzip < /boot/initrd.img-4.19.0-10-amd64 | cpio -it | less >> That was shortened to 'lsinitrd | less' in 2008 in o

Re: initrd inspection (was: Size of initrd)

2020-11-23 Thread tomas
On Mon, Nov 23, 2020 at 01:36:05AM -0500, Felix Miata wrote: > Tomas composed on 2020-11-21 22:46 (UTC+0100): > > > You can inspect it like so: > > > gunzip < /boot/initrd.img-4.19.0-10-amd64 | cpio -it | less > > That was shortened to 'lsinitrd | less' in 2008 in openSUSE[1], > which > Mand

Re: initrd inspection (was: Size of initrd)

2020-11-22 Thread Felix Miata
Tomas composed on 2020-11-21 22:46 (UTC+0100): > You can inspect it like so: > gunzip < /boot/initrd.img-4.19.0-10-amd64 | cpio -it | less That was shortened to 'lsinitrd | less' in 2008 in openSUSE[1], which Mandriva already had, eventually upstream'd to dracut, I'm guessing well over 5 yea