disk_mon works for me now
This commit is contained in:
parent
c84bdd1c16
commit
709e5818de
|
@ -20,7 +20,8 @@ class diskmon(object):
|
||||||
for uuid in uuids:
|
for uuid in uuids:
|
||||||
part = []
|
part = []
|
||||||
part.append("/dev/" + os.readlink("/dev/disk/by-uuid/" + uuid)[6:])
|
part.append("/dev/" + os.readlink("/dev/disk/by-uuid/" + uuid)[6:])
|
||||||
yield part.append(uuid)
|
part.append(uuid)
|
||||||
|
yield part
|
||||||
|
|
||||||
def gather(self):
|
def gather(self):
|
||||||
"""gather the actual information"""
|
"""gather the actual information"""
|
||||||
|
|
Reference in New Issue