[Yaird-devel] This patch booted my evms system
Marco Amadori
marco.amadori at gmail.com
Sun Dec 4 18:03:27 UTC 2005
:~/src/bzr/yaird.bzr$ bzr diff
=== modified file 'perl/ActiveBlockDev.pm'
--- perl/ActiveBlockDev.pm
+++ perl/ActiveBlockDev.pm
@@ -87,10 +87,13 @@
if ($p =~ m!^/dev/mapper/([^/]*)$!
||$p =~ m!^/dev/evms/.*$!)
{
- if (defined ($match)) {
- Base::fatal ("Don't know how to choose
between $match and $p for $name");
- }
- $match = $p;
+ if (defined ($match) && !($p =~
m!^/dev/evms/\..*$!))
+ {
+ base::fatal ("Don't know how to choose
between $match and $p for $name");
+ } else
+ {
+ $match = $p;
+ }
}
}
if (! defined ($match)) {
Btw, I had the swap issue warning on booting, but it was harmless.
Now I'll try more strange EVMS settings and I'll try also dmraid.
Could you try this on your system too see if what is fixed for me does not
broke your boot system ?
--
ESC:wq
More information about the Yaird-devel
mailing list