ALT Linux Team development discussions
 help / color / mirror / Atom feed
From: Alexey Gladkov <legion@altlinux.ru>
To: ALT Devel discussion list <devel@lists.altlinux.org>
Subject: [devel] I: make-initrd guess-modules
Date: Mon, 14 May 2012 19:31:35 +0400
Message-ID: <4FB12557.5030606@altlinux.ru> (raw)

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

В версии 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



             reply	other threads:[~2012-05-14 15:31 UTC|newest]

Thread overview: 20+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-05-14 15:31 Alexey Gladkov [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=4FB12557.5030606@altlinux.ru \
    --to=legion@altlinux.ru \
    --cc=devel@lists.altlinux.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link

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