diff --git a/interface/ri_data.py b/interface/ri_data.py index 884f7ac..cf38e2d 100644 --- a/interface/ri_data.py +++ b/interface/ri_data.py @@ -114,7 +114,7 @@ class Partition: if tp_i < 0: tp_i=fs_i located = True elif located: - Partition(d+s[nm_i:st_i].strip(), # device name + Partition(d[:2] == 'md' and d or d+s[nm_i:st_i].strip(), # device name s[st_i:end_i].strip().rstrip(Partition.unit), # start s[sz_i:tp_i].strip().rstrip(Partition.unit), # size s[tp_i:fs_i].strip(), # type