dev.d/ -- was Udev question PROGRAM= question
Quoted 9 lines · Kay Sievers
This does not fit into the udev model. We can only support devices that have a sane sysfs kernel representation.
You may call MAKEDEV it with a dev.d/ script triggered for the fd* device.Kay
Ok, so I have my script modified. How do I setup dev.d/ to handle this. Do I need to create a directory block, and place the .dev file into this directory or what do I need to do?
Signature · 15 lines
---- Jim Gifford [email protected] ------------------------------------------------------- SF email is sponsored by - The IT Product Guide Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now. http://ads.osdn.com/?ad_ide95&alloc_id396&op=click _______________________________________________ Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net [email protected] https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel
Quoted 7 lines · Jim Gifford
Quoted 5 lines · Kay Sievers
This does not fit into the udev model. We can only support devices that have a sane sysfs kernel representation.
You may call MAKEDEV it with a dev.d/ script triggered for the fd* device.
Quoted 7 lines
Quoted 4 lines
Kay
Ok, so I have my script modified. How do I setup dev.d/ to handle this. Do I need to create a directory block, and place the .dev file into this directory or what do I need to do?
Your script in "block" needs to exit if isn't a floppy, that should work. I hope to be able to add the udev-rule based dev.d execution soon, then it would be easy to match against a specific device or specific device class.
Fedora does it that way:
/etc/dev.d/
...
|-- fd0 | `-- 10-MAKEDEV.dev -> ../../udev/scripts/MAKEDEV.dev |-- fd1 | `-- 10-MAKEDEV.dev -> ../../udev/scripts/MAKEDEV.dev |-- fd2 | `-- 10-MAKEDEV.dev -> ../../udev/scripts/MAKEDEV.dev |-- fd3 | `-- 10-MAKEDEV.dev -> ../../udev/scripts/MAKEDEV.dev
Kay
-------------------------------------------------------
SF email is sponsored by - The IT Product Guide
Read honest & candid reviews on hundreds of IT Products from real users. Discover which products truly live up to the hype. Start reading now.
http://ads.osdn.com/?ad_ide95&alloc_id396&op=click
_______________________________________________
Linux-hotplug-devel mailing list http://linux-hotplug.sourceforge.net
[email protected]
https://lists.sourceforge.net/lists/listinfo/linux-hotplug-devel