Bug#269726: initrd-tools: diff for mkinitrd devfs problem
Package: initrd-tools
Version: 0.1.74
Followup-For: Bug #269726
mkinitrd has problem with devfs on 2.6.9.
The following patch solves the problem by adding /dev/md0 to the list
of devices put in initrd and it adjusts the following call to mdadm
--- mkinitrd 2004-12-10 15:46:58.000000000 +0100
+++ mkinitrd.new 2004-12-10 16:30:40.000000000 +0100
@@ -175,7 +175,8 @@
)"
printf '%s\n' $devices > getroot
- echo mdadm -A /devfs/md/$minor -R -u $uuid $devices \
+ echo /dev/md$minor >&4
+ echo mdadm -A /dev/md$minor -R -u $uuid $devices \
> md$minor-script
echo /sbin/mdadm >&6
}
-- System Information:
Debian Release: 3.1
APT prefers unstable
APT policy: (500, 'unstable')
Architecture: i386 (i686)
Kernel: Linux 2.6.9
Locale: LANG=C, LC_CTYPE=C (charmap=ANSI_X3.4-1968)
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 util-linux 2.12j-1 Miscellaneous system utilities
-- no debconf information
Reply to: