Bug#443436: mdadm: fix mkdir usage on BUSYBOX=n case
Package: mdadm
Version: 2.6.2-2
Severity: normal
Tags: patch
mkdir of klibc-utils has only short getopts.
cool had thought i'd have to add an BUSYBOX=y forcage to mdadm
boot scripts ;)
still double checking with that setting might be cool.
thanks
--- mdadm-2.6.2/debian/initramfs/script.local-top.orig 2007-09-21 11:42:53.000000000 +0200
+++ mdadm-2.6.2/debian/initramfs/script.local-top 2007-09-21 11:43:09.000000000 +0200
@@ -62,7 +62,7 @@ if [ ! -f /proc/mdstat ]; then
fi
# handle /dev/md/X nodes
-mkdir --parent /dev/md
+mkdir -p /dev/md
CONFIG=/etc/mdadm/mdadm.conf
# in case the hook failed to install a configuration file, this is our last
-- System Information:
Debian Release: lenny/sid
APT prefers testing
APT policy: (900, 'testing'), (500, 'unstable'), (1, 'experimental')
Architecture: amd64 (x86_64)
Kernel: Linux 2.6.23-rc5-amd64 (SMP w/2 CPU cores)
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8 (charmap=UTF-8)
Shell: /bin/sh linked to /bin/bash
Reply to: