kdave / btrfsmaintenance

Scripts for btrfs maintenance tasks like periodic scrub, balance, trim or defrag on selected mountpoints or directories.
GNU General Public License v2.0
897 stars 79 forks source link

btrfsmaintenance: check for flock verbose option #98

Closed asj closed 2 years ago

asj commented 2 years ago

Flock commit 59dc9f28b520 ("flock: add --verbose option") in 2.27 added the verbose command option. So most of the btrfsmaintenance scripts fail on a system without this commit in util-Linux. So check if the verbose option is supported.

Signed-off-by: Anand Jain anand.jain@oracle.com

kdave commented 2 years ago

Applied, thanks.