This commit is contained in:
Zsolt Ero
2023-12-21 03:07:55 +01:00
parent 48736bf87b
commit aaf9d2c74e
10 changed files with 50 additions and 42 deletions

View File

@@ -70,6 +70,7 @@ def cli(btrfs_img: Path):
subprocess.run(['truncate', '-s', str(total_size), btrfs_img])
print(f'Truncated {btrfs_img} to {total_size//1_000_000} MB size')
print('shrink_btrfs.py DONE')
def get_usage(mnt: Path, key: str):