Commit Graph

105 Commits

Author SHA1 Message Date
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
Stéphane Lesimple
6a52e9ae6d remove debug path from PATH 2019-02-26 10:38:49 +01:00
Stéphane Lesimple
bb5c2ba8c5 general overhaul
Bump minimum btrfs-progs versions to 3.18 (older versions are missing critical commands)
Cleanups around run_cmd()
Remove compatibility code for btrfs-progs <3.18
2019-02-25 22:26:34 +01:00
Stéphane Lesimple
2c1a30c56d update README 2019-02-25 20:25:11 +01:00
Stéphane Lesimple
fcbaf25806 fix version check (closes #1) 2018-03-18 23:02:53 +01:00
Stéphane Lesimple
8b4f0c3328 add colors, generation display and misc fixes 2017-06-18 15:32:21 +02:00
speed47
b23f01683c fix alignment with -s option 2015-11-13 17:15:20 +01:00
speed47
a9015eadd6 use GetOptions for -s and -d 2015-11-01 20:39:24 +01:00
speed47
15e95aecdb handle better cases when mainvol is not mounted, show all found mountpoints 2015-11-01 20:34:21 +01:00
speed47
482cdbacf4 couple fixes 2015-10-31 17:12:53 +01:00
speed47
da916191ae keep a cache to avoid calling readlink() repeatedly 2015-09-20 15:48:45 +02:00
speed47
8fdf223f6f replace qx// by open3() in a dedicated sub 2015-09-20 15:42:48 +02:00