Bug#270518: initrd-tools: Only the module for the root filesystem type should be loaded at boot
Package: initrd-tools
Version: 0.1.74
Severity: normal
After upgrading to a 2.6 kernel, I found a lot more modules loaded,
including what seemed to be every filesystem module. It seems that
initrd-tools load every existing fs module, instead of only the one used
by the root filesystem. Some of these modules are quite large. Here's
the output from lsmod after booting with /bin/sh as init and running
/etc/rcS.d/S02mountvirtfs:
Module Size Used by
xfs 585628 0
jfs 201156 0
nls_base 8672 1 jfs
reiserfs 333368 0
ext2 65220 1
ext3 130736 0
jbd 71576 1 ext3
mbcache 10116 1 ext3
ide_disk 27072 3
unix 31992 232
Please detect the root filesystem type and load only that filesystem module.
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: powerpc (ppc)
Kernel: Linux 2.6.8-powerpc
Locale: LANG=C, LC_CTYPE=C
Versions of packages initrd-tools depends on:
ii coreutils [fileutils] 5.2.1-2 The GNU core utilities
ii cpio 2.5-1.1 GNU cpio -- a program to manage
ar
ii cramfsprogs 1.1-6 Tools for CramFs (Compressed ROM
F
ii dash 0.5.1-3 The Debian Almquist Shell
ii fileutils 5.2.1-2 The GNU file management utilities
ii util-linux 2.12-7 Miscellaneous system utilities
-- no debconf information
Reply to: