>>> On 8/29/2013 at 05:28 PM, Neale Ferguson <[email protected]> wrote: > I am migrating an old device driver I wrote a few years ago that used to > have an agent file in /etc/hotplug such that when the driver was loaded > device nodes were created in /dev based on the major number in > /proc/devices. The latest kernels no longer use this approach, it's all udev > rules (or so I understand). I was wondering if there was a migration guide > that would allow me to take what was being done in the agent and create > rules that would achieve the same end (using RUN= or PROGRAM=) when an "add" > or "remove" ACTION is triggered.
Without more details about what the old driver did, it's hard to say. I'm not aware of any "migration" documentation out there for udev. Plus it's hard to understand what documentation is there. (I got to play with udev a _lot_ recently for a bug I was working on.) Let me know specifically what you need to do, and I'll see if I can help. Mark Post ---------------------------------------------------------------------- For LINUX-390 subscribe / signoff / archive access instructions, send email to [email protected] with the message: INFO LINUX-390 or visit http://www.marist.edu/htbin/wlvindex?LINUX-390 ---------------------------------------------------------------------- For more information on Linux on System z, visit http://wiki.linuxvm.org/
