Thank you Christian, I’ll check that out. That look like exactly what I’m looking for. 🙂
On Thu, Jun 13, 2024 at 23:19 Christian Borntraeger < borntrae...@linux.ibm.com> wrote: > Am 13.06.24 um 22:32 schrieb Donald Russell: > > Is there a RHEL 9 udev rule I can use to trigger an action when a reader > > file arrives? I couldn’t find anything. 🙁 > > Newer vmur drivers support a uevent for unsolicited device end. I think > this happens on new files. > > A sample udev rule for running a program when this event would be > ENV{DRIVER}=="vmur", ACTION=="change", ENV{EVENT}=="unsol_de", > RUN{program}="/path/to/program" > > The rule can be tested using the following steps: > > 1. Set reader device online (assuming default reader device number 000c) > > $ chzdev -ea 0.0.000c > > 2. Force a ready-state transition using z/VM's READY CP command > > $ vmcp ready 000c > > ---------------------------------------------------------------------- > For LINUX-390 subscribe / signoff / archive access instructions, > send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or > visit > http://www2.marist.edu/htbin/wlvindex?LINUX-390 > ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to lists...@vm.marist.edu with the message: INFO LINUX-390 or visit http://www2.marist.edu/htbin/wlvindex?LINUX-390