Revision 32389d91 lib/storage/filestorage.py
b/lib/storage/filestorage.py | ||
---|---|---|
45 | 45 |
size = (result.f_frsize * result.f_blocks) / (1024 * 1024) |
46 | 46 |
return {"type": constants.ST_FILE, |
47 | 47 |
"name": path, |
48 |
"vg_size": size,
|
|
49 |
"vg_free": free}
|
|
48 |
"storage_size": size,
|
|
49 |
"storage_free": free}
|
|
50 | 50 |
except OSError, e: |
51 | 51 |
raise errors.CommandError("Failed to retrieve file system information about" |
52 | 52 |
" path: %s - %s" % (path, e.strerror)) |
Also available in: Unified diff