Andrei Borzenkov wrote:
В Wed, 03 Dec 2014 16:26:17 +0100 Per Jessen <per@computer.org> пишет:
Andrei Borzenkov wrote:
On Wed, Dec 3, 2014 at 4:56 PM, Per Jessen <per@computer.org> wrote:
See $SUBJ - with mkinitrd, there was always a couple of lines listing which modules had been included.
kernel modules or dracut/mkinitrd module?
Both.
Upstream now has -m option to print only modules, you may consider opening bug report to request it.
I do not think mkinitrd printed kernel modules either.
It did/does : # mkinitrd -k vmlinuz-3.11.10-11-default -i something Kernel image: /boot/vmlinuz-3.11.10-11-default Initrd image: /boot/klop99 Root device: /dev/disk/by-id/cciss-3600508b1001fffffa00184c9aaf70004-part2 (/dev/cciss/c0d0p2) (mounted on / as ext4) Kernel Modules: thermal_sys thermal processor fan cciss ata_piix ata_generic scsi_dh scsi_dh_rdac scsi_dh_alua scsi_dh_emc scsi_dh_hp_sw usb-common usbcore ohci-hcd uhci-hcd ehci-hcd xhci-hcd usbhid hid-logitech-dj hid-generic hid-holtek-kbd hid-lenovo-tpkbd hid-ortek hid-roccat hid-roccat-common hid-roccat-arvo hid-roccat-isku hid-samsung ehci-pci ohci-pci Features: acpi block usb Other differences - the initrds built by dracut are bigger, sometimes twice the size of the ones built by mkinitrd, and dracut is slooooooooooow. Both are annoying, but no big deal.
What I really miss is the easy way to unpack and rebuild initrd (it is concatenation of several compressed cpio images so trivial zcat | cpio does not work). I'm tempted to send patch for "lsinitrd -x".
I've been wondering about that too. I would also like the reverse to be easy, to facilitate creating initrds myself. -- Per Jessen, Zürich (4.9°C) http://www.dns24.ch/ - free dynamic DNS, made in Switzerland. -- To unsubscribe, e-mail: opensuse+unsubscribe@opensuse.org To contact the owner, e-mail: opensuse+owner@opensuse.org