20 lines
691 B
Diff
20 lines
691 B
Diff
|
---
|
||
|
ziomon/ziorep_config | 2 +-
|
||
|
1 file changed, 1 insertion(+), 1 deletion(-)
|
||
|
|
||
|
--- a/ziomon/ziorep_config
|
||
|
+++ b/ziomon/ziorep_config
|
||
|
@@ -123,11 +123,11 @@ sub get_device_data
|
||
|
} else {
|
||
|
$devices{$hctl}{dev} = glob_last("block\:sd*");
|
||
|
}
|
||
|
+ $devices{$hctl}{sg_mm} = get_line("generic", "dev");
|
||
|
$c_src = $devices{$hctl}{dev};
|
||
|
$devices{$hctl}{dev} =~ s/.*(sd[a-z0-9]+)\Z/$1/
|
||
|
unless(!$devices{$hctl}{dev});
|
||
|
$devices{$hctl}{mm} = get_line("dev");
|
||
|
- $devices{$hctl}{sg_mm} = get_line("generic", "dev");
|
||
|
$devices{$hctl}{mp_dev} = glob_last("holders", "dm*");
|
||
|
$devices{$hctl}{mp_dev} =~ s/.*\/(.+)\Z/$1/
|
||
|
unless (!$devices{$hctl}{mp_dev});
|