You've already forked MicroPythonOS
mirror of
https://github.com/m5stack/MicroPythonOS.git
synced 2026-05-20 11:51:27 -07:00
Free space comment
This commit is contained in:
@@ -12,7 +12,7 @@ print(f"{sys.version=}")
|
||||
print(f"{sys.implementation=}")
|
||||
|
||||
|
||||
print("Check free space on root filesystem:")
|
||||
print("Free space on root filesystem:")
|
||||
stat = os.statvfs("/")
|
||||
total_space = stat[0] * stat[2]
|
||||
free_space = stat[0] * stat[3]
|
||||
|
||||
Reference in New Issue
Block a user