1# SPDX-License-Identifier: MIT or GPL-2.0-only 2# Udev rules for ublk devices. 3 4KERNEL=="ublk-control", MODE="0666", OPTIONS+="static_node=ublk-control" 5ACTION=="add",KERNEL=="ublk[bc]*",RUN+="/usr/local/sbin/ublk_chown.sh %k 'add' '%M' '%m'" 6ACTION=="remove",KERNEL=="ublk[bc]*",RUN+="/usr/local/sbin/ublk_chown.sh %k 'remove' '%M' '%m'" 7