summaryrefslogtreecommitdiffstats
path: root/sbin/devd/parse.y
Commit message (Collapse)AuthorAgeFilesLines
* Add the ability to match the on a media type of the device in question.imp2005-07-101-1/+7
| | | | | Submitted by: sam Approved by: re (scottl)
* Parse the ! lines that will soon be coming from the kernel. These areimp2003-10-241-1/+8
| | | | | | | | | | a generalized notification mechanism for subsystems wishing to report events. Revieded by: njl # The kernel side seems like it might be causing panics for me, but should # be forthcoming shortly.
* Allow zero or more actions in an action list, rather than requiringimp2003-05-151-0/+3
| | | | | | | | | | | | | | | | | | | one or more actions in the list. This makes constructs like: attach 10 { // echo "Driver $device_name attached" }; to be accepted by the parser. It will be treated as if the user had entered: // attach 10 { // echo "Driver $device_name attached" // }; (eg totally ignored). Approved by: re@ (rwatson)
* MFp4 (imp_freebsd branch): snapshot of devd work:imp2002-12-071-22/+21
| | | | | | | | | | | | o improve parsing and lexing o create data structures based on the parsed file now. o Still need to rewrite main loop and add regex (still uses hard coded devd-generic) o minor man page updates. # There should be one more commit before rc2 Approved by: re (blanket)
* devd. A daemon that hooks into the kernel's /dev/devctl to produceimp2002-10-201-0/+137
arbitrary commands when devices come and go in the device tree (which is different than the /dev directory). This is an initial version. Much of the planned power isn't here. Instead of doing the full matching, we always run /etc/devd-generic. /etc/devd.generic will go away at some point, I think. I'm committing it in this early state so I can start getting feedback from early adapters. Approved by: re
OpenPOWER on IntegriCloud