diff options
author | maximilian attems <max@stro.at> | 2010-12-05 10:12:43 +0100 |
---|---|---|
committer | maximilian attems <max@stro.at> | 2010-12-20 12:54:06 +0100 |
commit | 78337a4ad0b041e4c203dc48b2a4a4255c1b5311 (patch) | |
tree | 880265e9b62a02997a5f5a2a1ad89178d9f398c2 /debian/changelog | |
parent | 1caecd26c48fe696f5439ff550a13469467a0b39 (diff) |
MODULES=dep Fix partitioned raid setup
Specific setup has md0: unpartitioned RAID1 with /boot;
md1: partitioned RAID10f2 with root fs on /dev/md1p3
/sys walk needs to ignore the partition to derive the needed modules.
linux-2.6 feature since 92850bbd71228730c80efd491e7427650188d359,
aka since long..
[ Fixed for partitions > 9, tested bash, dash, zsh, mksh + 'busybox sh'
-- test script
test_arg() {
root="$1" ; should="$2"
is=$(echo ${root%%p[0-9]*})
if ! [ "$is" = "$should" ] ; then
printf "Expression %s failed (is %s but should be %s).\n" "$root" "$is" "$should"
return 1
fi
}
test_arg 1 1
test_arg 1p1 1
test_arg 10 10
test_arg 10p1 10
test_arg 10p10 10
test_arg 1p2b 1
--
-mika ]
Closes: #605824
Tested-by: Cestmir <ch1@freeside.sk>
Signed-off-by: Michael Prokop <mika@debian.org>
Signed-off-by: maximilian attems <max@stro.at>
Diffstat (limited to 'debian/changelog')
0 files changed, 0 insertions, 0 deletions