On Sun, Sep 23, 2018 at 11:54:12PM +0200, Hans van Kranenburg wrote: > Two examples have been added, which use the new code. I would appreciate > extra testing. Please try them and see if the reported numbers make sense: > > space_calculator.py > ------------------- > Best to be initially described as a CLI version of the well-known > webbased btrfs space calculator by Hugo. ;] Throw a few disk sizes at > it, choose data and metadata profile and see how much space you would > get to store actual data. > > See commit message "Add example to calculate usable and wasted space" > for example output. > > show_usage.py > ------------- > The contents of the old show_usage.py example that simply showed a list > of block groups are replaced with a detailed usage report of an existing > filesystem.
I wonder, perhaps at least some of the examples could be elevated to commands meant to be run by end-user? Ie, installing them to /usr/bin/, dropping the extension? They'd probably need less generic names, though. Meow! -- ⢀⣴⠾⠻⢶⣦⠀ 10 people enter a bar: ⣾⠁⢰⠒⠀⣿⡁ • 1 who understands binary, ⢿⡄⠘⠷⠚⠋⠀ • 1 who doesn't, ⠈⠳⣄⠀⠀⠀⠀ • and E who prefer to write it as hex.