Guest User

chkdisk.lua

a guest
May 10th, 2024
123
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
Lua 0.22 KB | None | 0 0
  1. print("Drive capacity is", fs.getCapacity("/"),"bytes", "while", fs.getFreeSpace("/"),"bytes", "are free.")
  2. UsedSpace = fs.getCapacity("/")-fs.getFreeSpace("/")
  3. print("Which means", UsedSpace,"bytes", "are being used.")
Advertisement
Add Comment
Please, Sign In to add comment