ALT Linux Team development discussions
 help / color / mirror / Atom feed
* [devel] I: make-initrd guess-modules
@ 2012-05-14 15:31 Alexey Gladkov
  2012-05-23  7:54 ` Michael Shigorin
  0 siblings, 1 reply; 20+ messages in thread
From: Alexey Gladkov @ 2012-05-14 15:31 UTC (permalink / raw)
  To: ALT Devel discussion list

Приветствую!

В версии make-initrd-0.7.8 появилась возможность узнать какие модули
(с точки зрения make-initrd) понадобятся для монтирования указанного
блочного устройства или точки монитрования:

# make-initrd guess-modules /mnt/scm
/lib/modules/3.3.0/kernel/drivers/block/ub.ko
/lib/modules/3.3.0/kernel/drivers/scsi/scsi_mod.ko
/lib/modules/3.3.0/kernel/drivers/scsi/sd_mod.ko
/lib/modules/3.3.0/kernel/drivers/usb/core/usbcore.ko
/lib/modules/3.3.0/kernel/drivers/usb/host/ehci-hcd.ko
/lib/modules/3.3.0/kernel/drivers/usb/storage/uas.ko
/lib/modules/3.3.0/kernel/drivers/usb/storage/usb-libusual.ko
/lib/modules/3.3.0/kernel/drivers/usb/storage/usb-storage.ko
/lib/modules/3.3.0/kernel/drivers/usb/usb-common.ko
/lib/modules/3.3.0/kernel/fs/ext4/ext4.ko
/lib/modules/3.3.0/kernel/fs/jbd2/jbd2.ko
/lib/modules/3.3.0/kernel/fs/mbcache.ko
/lib/modules/3.3.0/kernel/lib/crc16.ko
/lib/modules/3.3.0/kernel/lib/crc-t10dif.ko

# make-initrd guess-modules /dev/sda1
/lib/modules/3.3.0/kernel/drivers/ata/ata_generic.ko
/lib/modules/3.3.0/kernel/drivers/ata/ata_piix.ko
/lib/modules/3.3.0/kernel/drivers/ata/libata.ko
/lib/modules/3.3.0/kernel/drivers/ata/pata_acpi.ko
/lib/modules/3.3.0/kernel/drivers/scsi/scsi_mod.ko
/lib/modules/3.3.0/kernel/drivers/scsi/sd_mod.ko
/lib/modules/3.3.0/kernel/fs/fat/fat.ko
/lib/modules/3.3.0/kernel/fs/fat/vfat.ko
/lib/modules/3.3.0/kernel/lib/crc-t10dif.ko

Также чтобы сократить время выполнения и уменьшить количество ненужных
операций появился дополнительный ключ --no-depmod (-D).

Надеюсь это будет кому-нибудь полезно.

-- 
Rgrds, legion



^ permalink raw reply	[flat|nested] 20+ messages in thread

end of thread, other threads:[~2012-05-23 15:05 UTC | newest]

Thread overview: 20+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-05-14 15:31 [devel] I: make-initrd guess-modules Alexey Gladkov
2012-05-23  7:54 ` Michael Shigorin
2012-05-23  8:17   ` Alexey Gladkov
2012-05-23  9:56     ` Michael Shigorin
2012-05-23 10:10       ` Alexey Gladkov
2012-05-23 11:41         ` Michael Shigorin
2012-05-23 11:50           ` Sergey V Turchin
2012-05-23 12:06             ` Alexey Gladkov
2012-05-23 13:18             ` Michael Shigorin
2012-05-23 13:22               ` Sergey V Turchin
2012-05-23 13:29                 ` Mikhail Efremov
2012-05-23 13:30                   ` Sergey V Turchin
2012-05-23 13:29                 ` Aleksey Novodvorsky
2012-05-23 13:31                   ` Sergey V Turchin
2012-05-23 13:35                     ` Aleksey Novodvorsky
2012-05-23 13:46                       ` Sergey V Turchin
2012-05-23 13:47                         ` Aleksey Novodvorsky
2012-05-23 14:05                           ` Sergey V Turchin
2012-05-23 14:41       ` Ildar Mulyukov
2012-05-23 15:05         ` Michael Shigorin

ALT Linux Team development discussions

This inbox may be cloned and mirrored by anyone:

	git clone --mirror http://lore.altlinux.org/devel/0 devel/git/0.git

	# If you have public-inbox 1.1+ installed, you may
	# initialize and index your mirror using the following commands:
	public-inbox-init -V2 devel devel/ http://lore.altlinux.org/devel \
		devel@altlinux.org devel@altlinux.ru devel@lists.altlinux.org devel@lists.altlinux.ru devel@linux.iplabs.ru mandrake-russian@linuxteam.iplabs.ru sisyphus@linuxteam.iplabs.ru
	public-inbox-index devel

Example config snippet for mirrors.
Newsgroup available over NNTP:
	nntp://lore.altlinux.org/org.altlinux.lists.devel


AGPL code for this site: git clone https://public-inbox.org/public-inbox.git