Add udev import command

This commit is contained in:
Vitaliy Filippov
2022-07-19 01:14:31 +03:00
parent 1fe5908899
commit 837407a84c
2 changed files with 88 additions and 5 deletions
+4
View File
@@ -0,0 +1,4 @@
SUBSYSTEM=="block", ENV{ID_PART_ENTRY_TYPE}=="e7009fac-a5a1-4d72-af72-53de13059903", \
OWNER="vitastor", GROUP="vitastor", \
IMPORT{program}="/usr/bin/vitastor-disk udev $devnode", \
SYMLINK+="vitastor/$env{VITASTOR_ALIAS}"