Be silent

This commit is contained in:
Peter J. Holzer 2019-09-29 00:46:15 +02:00
parent fbfb9fad98
commit d3d79f6d16
1 changed files with 0 additions and 1 deletions

1
df2db
View File

@ -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