Code: Select all
#!/usr/bin/python
import os
print os.statvfs("/media/pi/SANDISK128");
posix.statvfs_result(f_bsize=4096, f_frsize=4096, f_blocks=1278529L, f_bfree=247545L, f_bavail=176838L, f_files=333248L, f_ffree=203806L, f_favail=203806L, f_flag=1024, f_namemax=55)