Fix get part table.

lvmraid
Mike Hiretsky 13 years ago
parent 1dc58d534f
commit 50e35f622a

@ -299,7 +299,7 @@ class fillVars(object, glob_attr):
fstab.getBy(what=fstab.TYPE,eq=devName) or \
props.get('ID_FS_TYPE','')
dev_hash['name'] = props.get('ID_FS_LABEL','')
dev_hash['table'] = props.get('ID_PART_TABLE_TYPE','')
dev_hash['table'] = props.get('ID_PART_ENTRY_SCHEME','')
dev_hash['type'] = getDeviceType(disk)
dev_hash['id'] =props.get('ID_PART_ENTRY_TYPE','').partition("x")[2]
devParent = getPartitionDevice(disk)

Loading…
Cancel
Save