Be silent
This commit is contained in:
parent
fbfb9fad98
commit
d3d79f6d16
1
df2db
1
df2db
|
@ -15,7 +15,6 @@ with open("/proc/mounts") as mounts:
|
||||||
s = os.statvfs(mountpoint)
|
s = os.statvfs(mountpoint)
|
||||||
if s.f_blocks == 0:
|
if s.f_blocks == 0:
|
||||||
continue # not a real file system
|
continue # not a real file system
|
||||||
print(dev, mountpoint, fstype, s)
|
|
||||||
|
|
||||||
s_total = s.f_blocks * s.f_bsize
|
s_total = s.f_blocks * s.f_bsize
|
||||||
s_usable = (s.f_blocks - s.f_bfree + s.f_bavail) * s.f_bsize
|
s_usable = (s.f_blocks - s.f_bfree + s.f_bavail) * s.f_bsize
|
||||||
|
|
Loading…
Reference in New Issue