Commit graph

66 commits

Author SHA1 Message Date
Stéphane Lesimple eaee8d8958 enh: adjust format for very high gen/cgen 2022-01-03 14:00:31 +01:00
Stéphane Lesimple 8e9a2ec3b0 fix: more complex algorithm to sort volumes correctly when orphans are found (#7) 2022-01-03 14:00:31 +01:00
Stéphane Lesimple d3c183965f enh: detect arguments errors 2022-01-03 14:00:31 +01:00
Stéphane Lesimple e3ca15264d feat: add --show-otime to show snaps creation time 2022-01-03 14:00:31 +01:00
Stéphane Lesimple 372ea532c4 feat: add --btrfs-binary 2022-01-03 14:00:31 +01:00
Stéphane Lesimple f4b7a2ea4a chore: simplify code, add comments 2022-01-03 14:00:31 +01:00
Stéphane Lesimple f5137b2851 enh: also extract otime of snaps 2022-01-03 14:00:31 +01:00
Stéphane Lesimple 6b6da1c770 fix: top_depth doesn't exist, v3.18+ has 'top level' instead 2022-01-03 14:00:31 +01:00
Stéphane Lesimple 0aba9f7a64 chore: adjust debug and sub names 2022-01-03 14:00:31 +01:00
Stéphane Lesimple 098760ea15 feat: add --bright, default to non-bright colors
Previous bright colors were not light-terminal friendly.
Default to the non-bright versions of colors, and add
an option to force use of bright colors.
2022-01-03 14:00:31 +01:00
Stéphane Lesimple 8fbe5b8513 fix: -f with multiple filesystems 2020-02-19 20:48:28 +01:00
Stéphane Lesimple 317becb513
chore: add github workflow (#6) 2019-11-18 12:44:16 -08:00
amc90 e5f775cfc3 Sort filesystem keys before iterating (#4) 2019-08-31 14:19:42 +02:00
Stéphane Lesimple 284d8cdb2e add --free-space 2019-03-31 18:08:38 +02:00
Stéphane Lesimple 9689b7be80 add --no-header 2019-03-31 18:07:49 +02:00
Stéphane Lesimple ec8ad2c2c4 separate filesystems by an empty line 2019-03-31 16:10:34 +02:00
Stéphane Lesimple 780e85487d optimize algorithmic complexity of free/unallocatable space calculation 2019-03-22 23:19:18 +01:00
Stéphane Lesimple 9af613ccd5 fix incorrect unallocatable amount for ratio 1 profiles 2019-03-22 20:41:05 +01:00
Stéphane Lesimple 901e37d067 reorganize subs, get rid of now useless btrfs fi df call 2019-03-16 18:21:34 +01:00
Stéphane Lesimple 69f9eff631 less hacky way of handling colors, and detect 0/8/256 color terms 2019-03-16 17:56:38 +01:00
Stéphane Lesimple 44519cc2b0 fix width of rfer column for fs 2019-03-16 16:08:23 +01:00
Stéphane Lesimple ee17e7616b unquote hash keys for readability 2019-03-16 15:59:57 +01:00
Stéphane Lesimple 4b83ec5f25 correct column-size for --raw --no-color 2019-03-16 15:58:44 +01:00
Stéphane Lesimple 1e95d69bd2 add --raw 2019-03-16 15:43:17 +01:00
Stéphane Lesimple 9f17933a5f explicitly silence btrfs-progs' raid56 unimplemented warning, because we actually implement it ourselves 2019-03-16 15:28:22 +01:00
Stéphane Lesimple 18a7491611 display unallocatable space if there is some 2019-03-16 15:26:56 +01:00
Stéphane Lesimple 3f7521fd83 update readme 2019-03-16 14:56:09 +01:00
Stéphane Lesimple 906fa5d282 perltidy 2019-03-16 14:45:05 +01:00
Stéphane Lesimple e4788188fc update readme 2019-03-16 14:21:31 +01:00
Stéphane Lesimple 994e521159 feat: implement realfree for single, dup, raid0, raid10, raid5, raid6 2019-03-16 14:20:33 +01:00
Stéphane Lesimple 4f7f311bd2 don't show script-internal id of filesystem (-1) 2019-03-16 14:19:47 +01:00
Stéphane Lesimple 49094d8bf9 pre-fill info for main volume even when quota is disabled 2019-03-16 14:16:59 +01:00
Stéphane Lesimple 73d65d3ecd Dumper: sort keys for easier debug 2019-03-16 14:16:09 +01:00
Stéphane Lesimple 351fec84c3 gnu-style cmdline parsing 2019-03-15 21:27:06 +01:00
Stéphane Lesimple 182dd9a76f remove -T switch for better compat
This was causing problems under some Linux flavors, with no real advantage.
Also keep the default PATH of the system.
Fixes #3
2019-03-03 23:07:33 +01:00
Stéphane Lesimple 4d846040ae rename "used" to "excl" to avoid confusing zfs users 2019-03-03 12:14:43 +01:00
Stéphane Lesimple 2dd529018e fix: ignore non-level 0 qgroups 2019-03-03 10:39:29 +01:00
Stéphane Lesimple 9f2f256b5d update readme 2019-03-02 19:44:03 +01:00
Stéphane Lesimple 2b587ad1f8 add --quiet 2019-03-02 19:37:54 +01:00
Stéphane Lesimple 6d40b27a6c implement realfree for RAID1 2019-03-02 19:34:18 +01:00
Stéphane Lesimple e5218fd0ba fix options parsing 2019-03-02 19:34:09 +01:00
Stéphane Lesimple 7d46a7a32a --no-edit 2019-03-02 19:14:30 +01:00
Stéphane Lesimple 45dfd727be add -S 2019-03-02 19:10:34 +01:00
Stéphane Lesimple 86472f9638 --no-edit 2019-03-02 19:05:37 +01:00
Stéphane Lesimple bca7a4afa8 update README 2019-03-02 19:05:01 +01:00
Stéphane Lesimple 5d9371f1a5 add --snap-{min,max}-used 2019-03-02 19:03:44 +01:00
Stéphane Lesimple 5a7f79810f implement --show-{all,id,uuid,gen-cgen} 2019-03-02 18:45:34 +01:00
Stéphane Lesimple 62c0c0246e update README 2019-03-02 18:07:24 +01:00
Stéphane Lesimple 9519f0bb63 add help, and possibility to specify mountpoint 2019-03-02 18:01:43 +01:00
Stéphane Lesimple 9e5323bdc4 include LICENSE in the script with an SPDX identifier 2019-03-02 17:59:37 +01:00