lockdev

Run-time shared library for locking devices, using _both_ FSSTND and SVr4 methods.

Arch Arch Linux
RUN pacman -S --noconfirm lockdev
CentOS
RUN yum install -y lockdev
Fedora
RUN dnf install -y lockdev
click the source code to copy install lockdev on any operating system with command-not-found.com