Browse Source

* removed every .rules file from udev

git-svn-id: svn://svn.opensde.net/opensde/package/branches/udev@21251 10447126-35f2-4685-b0cf-6dd780d3921f
early
Alejandro Mery 18 years ago
parent
commit
6b23b70193
  1. 26
      filesystem/udev/rules/05-udev-early.rules
  2. 39
      filesystem/udev/rules/35-helper.rules
  3. 25
      filesystem/udev/rules/40-modprobe.rules
  4. 164
      filesystem/udev/rules/50-udev.rules
  5. 23
      filesystem/udev/rules/55-sound.rules
  6. 67
      filesystem/udev/rules/60-persistent-disk.rules
  7. 44
      filesystem/udev/rules/61-persistent-input.rules
  8. 34
      filesystem/udev/rules/70-device-mapper.rules
  9. 19
      filesystem/udev/rules/90-user.rules
  10. 21
      filesystem/udev/rules/95-debug.rules

26
filesystem/udev/rules/05-udev-early.rules

@ -1,26 +0,0 @@
########################################################################
#
# Description : 05-udev-early.rules
#
# Authors : Based on Open Suse Udev Rules
# kay.sievers@suse.de
#
# Adapted to : Jim Gifford
# LFS
#
# Version : 00.01
#
# Notes :
#
########################################################################
# ignore these events until someone needs them
#
SUBSYSTEM=="drivers", OPTIONS="ignore_device"
SUBSYSTEM=="module", OPTIONS="ignore_device"
# sysfs is populated after the event is sent
#
ACTION=="add", DEVPATH=="/devices/*", ENV{PHYSDEVBUS}=="?*", WAIT_FOR_SYSFS="bus"
ACTION=="add", SUBSYSTEM=="scsi", WAIT_FOR_SYSFS="ioerr_cnt"
ACTION=="add", SUBSYSTEM=="net", WAIT_FOR_SYSFS="address"

39
filesystem/udev/rules/35-helper.rules

@ -1,39 +0,0 @@
########################################################################
#
# Description : 35-helper.rules
#
# Authors : Based on Open Suse Udev Rules
# kay.sievers@suse.de
#
# Adapted to : Jim Gifford
# LFS : Alexander E. Patrakov
#
# Version : 00.01
#
# Notes :
#
########################################################################
# kernel firmware loader
SUBSYSTEM=="firmware", ACTION=="add", RUN+="firmware.sh"
# check cdrom helper
BUS=="ide", KERNEL=="hd[a-z]", ACTION=="add", IMPORT="cdrom_id --export $tempnode"
BUS=="scsi", KERNEL=="sr[0-9]*", ACTION=="add", IMPORT="cdrom_id --export $tempnode"
BUS=="scsi", KERNEL=="scd[a-z]", ACTION=="add", IMPORT="cdrom_id --export $tempnode"
BUS=="scsi", KERNEL=="sg[0-9]*", ACTION=="add", DRIVERS=="sr", GROUP="cdrom"
BUS=="ide", ENV{ID_CDROM}=="?*", PROGRAM="cdsymlink_helper.sh %k ide", SYMLINK+="cdrom%c"
BUS=="ide", ENV{ID_CDROM_CD_R}=="?*", PROGRAM="cdsymlink_helper.sh %k ide", SYMLINK+="cdr%c"
BUS=="ide", ENV{ID_CDROM_CD_RW}=="?*", PROGRAM="cdsymlink_helper.sh %k ide", SYMLINK+="cdrw%c"
BUS=="ide", ENV{ID_CDROM_DVD}=="?*", PROGRAM="cdsymlink_helper.sh %k ide", SYMLINK+="dvd%c"
BUS=="ide", ENV{ID_CDROM_DVD_R}=="?*", PROGRAM="cdsymlink_helper.sh %k ide", SYMLINK+="dvdrw%c"
BUS=="scsi", ENV{ID_CDROM}=="?*", PROGRAM="cdsymlink_helper.sh %n scsi", SYMLINK+="cdrom%c"
BUS=="scsi", ENV{ID_CDROM_CD_R}=="?*", PROGRAM="cdsymlink_helper.sh %n scsi", SYMLINK+="cdr%c"
BUS=="scsi", ENV{ID_CDROM_CD_RW}=="?*", PROGRAM="cdsymlink_helper.sh %n scsi", SYMLINK+="cdrw%c"
BUS=="scsi", ENV{ID_CDROM_DVD}=="?*", PROGRAM="cdsymlink_helper.sh %n scsi", SYMLINK+="dvd%c"
BUS=="scsi", ENV{ID_CDROM_DVD_R}=="?*", PROGRAM="cdsymlink_helper.sh %n scsi", SYMLINK+="dvdrw%c"
# adds floppy devices
KERNEL=="fd[0-9]*", ACTION=="add", ATTRS{cmos}=="*", RUN+="create_floppy_devices -c -t $sysfs{cmos} -m %M /dev/%k"

25
filesystem/udev/rules/40-modprobe.rules

@ -1,25 +0,0 @@
########################################################################
#
# Description : 40-modprobe.rules
#
# Authors : Based on Open Suse Udev Rules
# kay.sievers@suse.de
#
# Adapted to : Jim Gifford
# LFS : Alexander E. Patrakov
#
# Version : 00.01
#
# Notes :
#
########################################################################
# scsi
SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="0|7|14", RUN+="/sbin/modprobe sd_mod"
SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="1", SYSFS{device/vendor}=="On[sS]tream", RUN+="/sbin/modprobe osst"
SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="1", RUN+="/sbin/modprobe st"
SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="[45]", RUN+="/sbin/modprobe sr_mod"
SUBSYSTEM=="scsi_device", ACTION=="add", RUN+="/sbin/modprobe sg"
# floppy
KERNEL=="nvram", ACTION=="add", RUN+="load_floppy_module.sh"

164
filesystem/udev/rules/50-udev.rules

@ -1,164 +0,0 @@
########################################################################
#
# Description : 50-udev.rules
#
# Authors : Based on Open Suse Udev Rules
# kay.sievers@suse.de
#
# Adapted to : Jim Gifford
# LFS : Alexander E. Patrakov
#
# Version : 00.01
#
# Notes :
#
########################################################################
# block devices
SUBSYSTEM=="block", GROUP="disk", MODE="0640"
# console
KERNEL=="tty[0-9]*", NAME="vc/%n"
KERNEL=="pty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="666", OPTIONS="last_rule"
KERNEL=="tty[pqrstuvwxyzabcdef][0123456789abcdef]", GROUP="tty", MODE="666", OPTIONS="last_rule"
KERNEL=="vcs*", GROUP="tty", MODE="620", OPTIONS="last_rule"
KERNEL=="tty", GROUP="tty", MODE="666", OPTIONS="last_rule"
KERNEL=="vc/[0-9]*", GROUP="tty", MODE="620", OPTIONS="last_rule"
KERNEL=="console", MODE="600", OPTIONS="last_rule"
KERNEL=="ptmx", GROUP="tty", MODE="666", OPTIONS="last_rule"
# serial devices
KERNEL=="tty[A-Z]*", GROUP="modem"
KERNEL=="pppox*", GROUP="modem"
KERNEL=="ircomm*", GROUP="modem"
KERNEL=="modems/mwave*", GROUP="modem"
KERNEL=="hvc*", GROUP="modem"
KERNEL=="hvsi*", GROUP="modem"
KERNEL=="iseries/vtty*", GROUP="modem"
KERNEL=="ttyUSB*", ATTRS{product}=="[Pp]alm*Handheld*", SYMLINK+="pilot"
# video/graphics
SUBSYSTEM=="video4linux", GROUP="video"
SUBSYSTEM=="graphics" GROUP="video"
KERNEL=="vtx*", GROUP="video"
KERNEL=="vbi*", GROUP="video"
KERNEL=="winradio*", GROUP="video"
KERNEL=="vttuner*", GROUP="video"
KERNEL=="nvidia*", GROUP="video"
KERNEL=="video0", SYMLINK+="video"
KERNEL=="radio0", SYMLINK+="radio"
KERNEL=="vbi0", SYMLINK+="vbi"
KERNEL=="pmu", GROUP="video"
# dvb
SUBSYSTEM=="dvb", PROGRAM="/bin/sh -c 'K=%k; K=$${K#dvb}; printf dvb/adapter%%i/%%s $${K%%%%.*} $${K#*.}'", NAME="%c", GROUP="video"
# input devices
KERNEL=="mice", NAME="input/%k", MODE="0640"
KERNEL=="mouse*", NAME="input/%k", MODE="0640"
KERNEL=="event*", NAME="input/%k", MODE="0640"
KERNEL=="js*", NAME="input/%k", MODE="0644"
KERNEL=="ts*", NAME="input/%k", MODE="0600"
KERNEL=="uinput", NAME="input/%k", MODE="0600"
KERNEL=="lirc0", SYMLINK+="lirc"
# printer
SUBSYSTEM=="usb", KERNEL=="lp*", NAME="usb/%k", SYMLINK+="usb%k", GROUP="lp"
SUBSYSTEM=="printer", KERNEL=="lp*", NAME="%k", GROUP="lp"
KERNEL=="irlpt*", GROUP="lp"
# cpu devices
KERNEL=="cpu[0-9]*", NAME="cpu/%n/cpuid"
KERNEL=="msr[0-9]*", NAME="cpu/%n/msr"
KERNEL=="microcode", NAME="cpu/microcode", MODE="0600"
# IEEE1394 devices
KERNEL=="raw1394*", GROUP="video"
KERNEL=="dv1394*", SYMLINK+="dv1394/%n", GROUP="video"
KERNEL=="video1394*", SYMLINK+="video1394/%n", GROUP="video"
# 183 = /dev/hwrng Generic random number generator
KERNEL=="hw_random", NAME="hwrng", SYMLINK+="%k"
# 219 /dev/modems/mwave MWave modem firmware upload
KERNEL=="mwave", NAME="modems/%k"
# 169 /dev/specialix_rioctl Specialix RIO serial control
KERNEL=="rioctl", NAME="specialix_rioctl", SYMLINK+="%k"
# 167 /dev/specialix_sxctl Specialix serial control
KERNEL=="sxctl", NAME="specialix_sxctl", SYMLINK+="%k"
# network
KERNEL=="tun", NAME="net/%k", MODE="0600"
# misc devices
KERNEL=="mem", GROUP="kmem", MODE="640"
KERNEL=="kmem", GROUP="kmem", MODE="640"
KERNEL=="port", GROUP="kmem", MODE="640"
KERNEL=="nvram", GROUP="kmem", MODE="600"
KERNEL=="null", MODE="666"
KERNEL=="zero", MODE="666"
KERNEL=="full", MODE="622"
KERNEL=="random", MODE="666"
KERNEL=="urandom", MODE="644"
KERNEL=="rtc", GROUP="audio"
KERNEL=="sonypi", MODE="666"
KERNEL=="agpgart", MODE="600", GROUP="video"
KERNEL=="djs*", MODE="644"
KERNEL=="sgi_*", MODE="666"
KERNEL=="rrom*", MODE="400"
KERNEL=="rflash*", MODE="400"
KERNEL=="usbscanner*", MODE="644"
KERNEL=="3270/ttycons*", MODE="600"
KERNEL=="3270/tub*", MODE="666"
KERNEL=="3270/tubcons*", MODE="600"
KERNEL=="ica", MODE="666"
KERNEL=="z90crypt", MODE="666"
KERNEL=="mmtimer", MODE="444"
KERNEL=="auer[0-9]*" NAME="usb/%k"
# packet writing interface
KERNEL=="pktcdvd", NAME="pktcdvd/control"
KERNEL=="pktcdvd[0-9]*", NAME="pktcdvd/%k"
# fix floppy devices
KERNEL=="fd[0-9]*", ACTION=="add", GROUP="floppy", MODE="660"
KERNEL=="fd[0-9]*", ACTION=="remove", RUN+="/bin/rm -f $root/%k*"
# sd: 0 TYPE_DISK, 7 TYPE_MOD, 14 TYPE_RBC
# sr: 4 TYPE_WORM, 5 TYPE_ROM
# st/osst: 1 TYPE_TAPE
ACTION=="add", SUBSYSTEM=="scsi" , ATTR{type}=="0|7|14", ATTR{timeout}="60"
ACTION=="add", SUBSYSTEM=="scsi" , ATTR{type}=="1", ATTR{timeout}="900"
# device mapper
KERNEL=="device-mapper", SYMLINK+="mapper/control"
# misc storage devices (non-block)
KERNEL=="sg*", GROUP="disk", MODE="640"
KERNEL=="sr*", GROUP="cdrom", MODE="660"
KERNEL=="st*", GROUP="tape"
KERNEL=="nst*", GROUP="tape"
KERNEL=="initrd", GROUP="disk"
KERNEL=="qft*", GROUP="tape"
KERNEL=="nqft*", GROUP="tape"
KERNEL=="zqft*", GROUP="tape"
KERNEL=="nzqft*", GROUP="tape"
KERNEL=="rawqft*", GROUP="tape"
KERNEL=="nrawqft*", GROUP="tape"
KERNEL=="pf*", GROUP="disk"
KERNEL=="sch*", GROUP="disk"
KERNEL=="pt*", GROUP="tape"
KERNEL=="npt*", GROUP="tape"
KERNEL=="pg*", GROUP="disk"
KERNEL=="evms/block_device*", GROUP="disk"
KERNEL=="rawctl*", GROUP="disk"
KERNEL=="osst*", GROUP="tape"
KERNEL=="nosst*", GROUP="tape"
KERNEL=="iseries/vt*", GROUP="disk"
KERNEL=="iseries/nvt*", GROUP="disk"
KERNEL=="iseries/ibmsis*", GROUP="disk"
# libusb device access
SUBSYSTEM=="usb_device", PROGRAM="/bin/sh -c 'K=%k; K=$${K#usbdev}; printf bus/usb/%%03i/%%03i $${K%%%%.*} $${K#*.}'", NAME="%c", MODE="0644"

23
filesystem/udev/rules/55-sound.rules

@ -1,23 +0,0 @@
########################################################################
#
# Description : 55-sound.rules
#
# Authors : Alexander E. Patrakov
#
# Version : 00.01
#
# Notes :
#
########################################################################
SUBSYSTEM=="sound", GROUP="audio"
SUBSYSTEM=="snd", GROUP="audio"
KERNEL=="controlC[0-9]*", NAME="snd/%k", GROUP="audio"
KERNEL=="hwC[D0-9]*", NAME="snd/%k", GROUP="audio"
KERNEL=="pcmC[D0-9cp]*", NAME="snd/%k", GROUP="audio"
KERNEL=="midiC[D0-9]*", NAME="snd/%k", GROUP="audio"
KERNEL=="timer", NAME="snd/%k", GROUP="audio"
KERNEL=="seq", NAME="snd/%k", GROUP="audio"
SUBSYSTEM=="sound", KERNEL=="controlC?", RUN+="/usr/sbin/alsactl -F restore %n"

67
filesystem/udev/rules/60-persistent-disk.rules

@ -1,67 +0,0 @@
########################################################################
#
# Description : 60-persistent-disk.rules
#
# Authors : Based on Open Suse Udev Rules
# kay.sievers@suse.de and hare@suse.de
#
# Adapted to : Jim Gifford
# LFS
#
# Version : 00.01
#
# Notes :
#
########################################################################
# persistent disk links: /dev/disk/{by-id,by-uuid,by-label,by-path}
# scheme based on "Linux persistent device names", 2004, Hannes Reinecke <hare@suse.de>
ACTION!="add", GOTO="persistent_storage_end"
SUBSYSTEM!="block", GOTO="persistent_storage_end"
# skip rules for inappropriate block devices
KERNEL=="ram*|loop*|fd*|nbd*|dm-*", GOTO="persistent_storage_end"
# Set Permissions on CDOM
BUS=="ide", DRIVERS=="ide-cdrom", ATTRS{removable}=="1", GROUP="cdrom", MODE="660"
# never access removable ide devices, the drivers are causing event loops on open()
KERNEL=="hd*[!0-9]", ATTRS{removable}=="1", DRIVERS=="ide-cs|ide-floppy", GOTO="persistent_storage_end"
KERNEL=="hd*[0-9]", ATTRS{../removable}=="1", GOTO="persistent_storage_end"
# for partitions import parent information
KERNEL=="*[0-9]", IMPORT{parent}=="ID_*"
# by-id (hardware serial number)
KERNEL=="hd*[!0-9]", IMPORT{program}="ata_id --export $tempnode"
KERNEL=="hd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}"
KERNEL=="hd*[0-9]", IMPORT{parent}=="ID_*", SYMLINK+="disk/by-id/ata-$env{ID_MODEL}_$env{ID_SERIAL}-part%n"
KERNEL=="sd*[!0-9]|sr*|st*", ATTRS{ieee1394_id}=="*", ENV{ID_SERIAL}="$attr{ieee1394_id}", ENV{ID_BUS}="ieee1394"
KERNEL=="sd*[!0-9]|sr*|st*", ENV{ID_SERIAL}=="", IMPORT{program}="usb_id -x"
KERNEL=="sd*[!0-9]|sr*|st*", ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -x -s %p -d $tempnode"
KERNEL=="sd*[!0-9]|sr*|st*", ENV{ID_SERIAL}=="", IMPORT{program}="scsi_id -g -x -a -s %p -d $tempnode"
KERNEL=="dasd*[!0-9]", IMPORT{program}="dasd_id --export $tempnode"
KERNEL=="sd*[!0-9]|sr*|dasd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
KERNEL=="sd*[0-9]|dasd*[0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/$env{ID_BUS}-$env{ID_SERIAL}-part%n"
KERNEL=="st*", ENV{ID_SERIAL}=="?*", SYMLINK+="tape/by-id/$env{ID_BUS}-$env{ID_SERIAL}"
# by-path (shortest physical path)
KERNEL=="*[!0-9]|sr*", IMPORT{program}="path_id %p", SYMLINK+="disk/by-path/$env{ID_PATH}"
KERNEL=="st*", IMPORT{program}="path_id %p", SYMLINK+="tape/by-path/$env{ID_PATH}"
KERNEL=="sr*|st*", GOTO="persistent_storage_end"
KERNEL=="*[0-9]", ENV{ID_PATH}=="?*", SYMLINK+="disk/by-path/$env{ID_PATH}-part%n"
# by-label/by-uuid (filesystem properties)
KERNEL=="*[!0-9]", ATTR{removable}=="1", GOTO="persistent_storage_end"
IMPORT{program}="vol_id --export $tempnode"
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID}"
ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_SAFE}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_SAFE}"
# BIOS Enhanced Disk Device
KERNEL=="*[!0-9]", IMPORT{program}="edd_id --export $tempnode"
KERNEL=="*[!0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}"
KERNEL=="*[0-9]", ENV{ID_EDD}=="?*", SYMLINK+="disk/by-id/edd-$env{ID_EDD}-part%n"
LABEL="persistent_storage_end"

44
filesystem/udev/rules/61-persistent-input.rules

@ -1,44 +0,0 @@
########################################################################
#
# Description : 61-persistent-input.rules
#
# Authors : Based on Open Suse Udev Rules
# kay.sievers@suse.de and hare@suse.de
#
# Adapted to : Jim Gifford
# LFS
#
# Version : 00.01
#
# Notes :
#
########################################################################
ACTION!="add", GOTO="persistent_input_end"
SUBSYSTEM!="input", GOTO="persistent_input_end"
KERNEL=="input[0-9]*", GOTO="persistent_input_end"
# usb devices
BUS=="usb", IMPORT{program}="usb_id -x"
BUS=="usb", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="01", ENV{ID_CLASS}="kbd"
BUS=="usb", ATTRS{bInterfaceClass}=="03", ATTRS{bInterfaceProtocol}=="02", ENV{ID_CLASS}="mouse"
# other devices
DRIVERS=="pcspkr", ENV{ID_CLASS}="spkr"
DRIVERS=="atkbd", ENV{ID_CLASS}="kbd"
DRIVERS=="psmouse", ENV{ID_CLASS}="mouse"
ATTRS{name}=="*dvb*|*DVB*|* IR *", ENV{ID_CLASS}="ir"
ATTRS{modalias}=="input:*-*a[068],*|input:*-*a*,[68],*m*", ATTRS{modalias}!="input:*-*k*14A,*r*", ENV{ID_CLASS}="joystick"
ENV{ID_SERIAL}=="", ENV{ID_SERIAL}="noserial"
# by-id links
KERNEL=="mouse*", ENV{ID_BUS}=="?*", ENV{ID_SERIAL}=="?*", ENV{ID_CLASS}=="?*", SYMLINK+="input/by-id/$env{ID_BUS}-$env{ID_SERIAL}-$env{ID_CLASS}"
KERNEL=="event*", ENV{ID_BUS}=="?*", ENV{ID_SERIAL}=="?*", ENV{ID_CLASS}=="?*", SYMLINK+="input/by-id/$env{ID_BUS}-$env{ID_SERIAL}-event-$env{ID_CLASS}"
# by-path
IMPORT{program}="path_id %p"
ENV{ID_PATH}=="?*", KERNEL=="mouse*", SYMLINK+="input/by-path/$env{ID_PATH}-$env{ID_CLASS}"
ENV{ID_PATH}=="?*", KERNEL=="event*", SYMLINK+="input/by-path/$env{ID_PATH}-$env{ID_CLASS}"
LABEL="persistent_input_end"

34
filesystem/udev/rules/70-device-mapper.rules

@ -1,34 +0,0 @@
########################################################################
#
# Description : 70-device-mapper.rules
#
# Authors : Based on Open Suse Udev Rules
# kay.sievers@suse.de
#
# Adapted to : Jim Gifford
# LFS
#
# Version : 00.01
#
# Notes :
#
########################################################################
# device mapper links hook into "online" event, when the dm table
# is available, while some table types must be ignored
KERNEL=="device-mapper", SYMLINK+="mapper/control"
KERNEL=="dm-*", ACTION=="add|change", GOTO="device_mapper_do"
GOTO="device_mapper_end"
LABEL="device_mapper_do"
PROGRAM!="/sbin/dmsetup status -j %M -m %m", GOTO="device_mapper_end"
RESULT=="|*snapshot*|*error*", GOTO="device_mapper_end"
IMPORT{program}="vol_id --export $tempnode"
ENV{ID_FS_USAGE}=="filesystem|other|crypto", ENV{ID_FS_UUID}=="?*", SYMLINK+="disk/by-uuid/$env{ID_FS_UUID}"
ENV{ID_FS_USAGE}=="filesystem|other", ENV{ID_FS_LABEL_SAFE}=="?*", SYMLINK+="disk/by-label/$env{ID_FS_LABEL_SAFE}"
LABEL="device_mapper_end"

19
filesystem/udev/rules/90-user.rules

@ -1,19 +0,0 @@
########################################################################
#
# Description : 90-user.rules
#
# Authors : Based on Open Suse Udev Rules
# kay.sievers@suse.de
#
# Adapted to : Jim Gifford
# LFS
#
# Version : 00.01
#
# Notes : This is where you can put rules that are a part
# of this package
#
########################################################################
# Create Mouse Symlink
KERNEL=="psaux", SYMLINK+="mouse"

21
filesystem/udev/rules/95-debug.rules

@ -1,21 +0,0 @@
########################################################################
#
# Description : 95-debug.rules
#
# Authors : Based on Open Suse Udev Rules
# kay.sievers@suse.de
#
# Adapted to : Jim Gifford
# LFS
#
# Version : 00.01
#
# Notes :
#
########################################################################
# debug events to /events, but not on default udev_log="err"
ENV{UDEV_LOG}=="[4-9]", RUN+="eventrecorder.sh"
# event to be catched by udevmonitor
RUN+="socket:/org/kernel/udev/monitor"
Loading…
Cancel
Save