Commit message (Collapse) | Author | Age | Files | Lines | |
---|---|---|---|---|---|
* | - Add support for a "!" character in regex matching in devd(8). It inverts | hrs | 2011-10-26 | 3 | -4/+19 |
| | | | | | | | | | the logic (true/false) of the matching. - Add "!usbus[0-9]+" to IFNET ATTACH notification handler in the default devd.conf to prevent rc.d/netif from running when usbus[0-9]+ is attached. Reviewed by: imp | ||||
* | Typo. For USB devices, 'serial' should be 'sernum'. | bms | 2011-05-10 | 1 | -1/+1 |
| | | | | See sys/dev/usb/usb_device.c for what devctl_notify() gets. | ||||
* | Don't generate input() since it's not used. | brucec | 2010-11-22 | 1 | -0/+1 |
| | |||||
* | Fix missing closedir() | kevlo | 2010-11-21 | 1 | -0/+1 |
| | | | | Reviewed by: imp | ||||
* | Allow the kernel to generate more spacy things and still have devd | imp | 2010-10-09 | 1 | -0/+8 |
| | | | | | | | | cope. Skip multiple spaces in a few contexts. PR: 96854 Submitted by: Shin'ya Kumabuchi MFC after: 1 week | ||||
* | mdoc: drop redundant .Pp and .LP calls | uqs | 2010-10-08 | 1 | -1/+0 |
| | | | | They have no effect when coming in pairs, or before .Bl/.Bd | ||||
* | Fix typos, spelling, formatting and mdoc mistakes found by Nobuyuki while | joel | 2010-08-16 | 1 | -1/+1 |
| | | | | | | translating these manual pages. Minor corrections by me. Submitted by: Nobuyuki Koganemaru <n-kogane@syd.odn.ne.jp> | ||||
* | - Avoid calling the copy constructor when it is not necessary. | lulf | 2010-07-29 | 1 | -4/+3 |
| | |||||
* | - Remove unused instance of string. | lulf | 2010-07-29 | 1 | -1/+0 |
| | |||||
* | Expand system into my_system, and add the necessary tidyness that we | imp | 2010-06-29 | 2 | -2/+95 |
| | | | | | | | | | | need. Close the pidfile. Then close all descriptors >= 3 to avoid information leakage to children. This solves the problem of not being able to restart devd when you have, for example, a dhclient forked to configure your network... MFC after: 3 days | ||||
* | Document the new USB notification types. | thompsa | 2010-04-22 | 1 | -1/+55 |
| | |||||
* | Bump WARNS where possible. | uqs | 2010-02-15 | 1 | -2/+1 |
| | | | | | Checked by: make universe Approved by: ed (co-mentor) | ||||
* | o Spell. Sort .Xrs. | maxim | 2009-03-08 | 1 | -7/+7 |
| | |||||
* | Document several notifications, among them are DEVFS, update to ifneti, | kib | 2009-03-08 | 1 | -3/+58 |
| | | | | | | | | | coretemp and kern. The asmc(4) and zfs(5) are still not documented. Based on the patch by Roland Smith <rsmith xs4all nl>. MFC after: 1 week | ||||
* | Send all debug to stderr. | phk | 2008-12-14 | 1 | -2/+2 |
| | |||||
* | Clarify that configuration files must be named '*.conf' | phk | 2008-12-14 | 1 | -1/+1 |
| | |||||
* | No need to be gratuitously style(9) non-compliant here, even though | imp | 2008-03-21 | 1 | -1/+1 |
| | | | | C++ lets me get away with it. | ||||
* | Minor initialization change to not trigger bogus gcc warning about | imp | 2007-12-21 | 1 | -1/+1 |
| | | | | passing literal strings to the constructors of string. | ||||
* | Reduce the WARNS level across the board due to a warning that occurs | jb | 2007-11-19 | 1 | -1/+3 |
| | | | | on at least arm and sparc64. i386/pc98, ia64 and amd64 are all OK. | ||||
* | Fix the description of "media-type". | ru | 2006-10-24 | 1 | -3/+14 |
| | |||||
* | Revise the markup, sort sections, fix some grammar bugs. | ru | 2006-10-21 | 1 | -116/+119 |
| | | | | Not fixed: the description of media-type is completely bogus. | ||||
* | flesh out the devd.conf man page... Mostly from the PR, but did a couple | jmg | 2006-10-07 | 1 | -8/+298 |
| | | | | | | | | | gramatical tweaks along w/ sorting the list, and adding that serial is available for USB.... PR: 85097 Submitted by: Fredrik Lindberg MFC after: 1 week | ||||
* | Add -f option to program's usage(), fix manpage's SYNOPSIS. | ru | 2006-09-17 | 2 | -4/+3 |
| | |||||
* | o Yacc's lineno variable holds a total number of parsed lines. | maxim | 2006-04-14 | 1 | -0/+1 |
| | | | | | | | | Reset it to 1 for each devd config file so if the parser finds a syntax error devd(8) will report a correct line number. Submitted by: Niki Denev MFC after: 2 weeks | ||||
* | Use pidfile(3). | pjd | 2006-01-30 | 3 | -12/+35 |
| | | | | OK'ed by: imp | ||||
* | It was always intended that regular expression matching be case | imp | 2006-01-08 | 1 | -1/+1 |
| | | | | insensitive. Make it so. | ||||
* | Rev 1.15 should have incremented the date on this manual page. | jkoshy | 2005-12-19 | 1 | -1/+1 |
| | |||||
* | Add a -f configfile option to devd(8), based on a patch submitted by | jkoshy | 2005-11-24 | 2 | -5/+33 |
| | | | | | | Wojciech A. Koszek. Submitted by: Wojciech A. Koszek <dunstan@freebsd.czest.pl> | ||||
* | Reuse delete_and_clear() template helper. | bland | 2005-11-14 | 1 | -5/+1 |
| | | | | Approved by: imp | ||||
* | Make devd WARNS=4 clean and bump WARNS accordingly. This will insure | brooks | 2005-10-19 | 2 | -3/+3 |
| | | | | | | | that future variable shadowing bugs don't compile. Reviewed by: imp Compiled on: alpha i386 sparc64 | ||||
* | As pointed out on current@, we don't want to declare a variable in a scope | imp | 2005-10-19 | 1 | -1/+1 |
| | | | | | | | | that just uses the variable and throws it away. This should fix the subsystem keyword wrt media-type. MFC After: 2 days | ||||
* | media-type predicate is used in contexts where device-name is undefined. | imp | 2005-10-04 | 1 | -1/+9 |
| | | | | | | | In those contexted, use subsystem instead. # This causes dhclient to run again when I plug in my ethernet cable to # my fxp card in my laptop. | ||||
* | * Open permissions on /var/run/devd.pipe so that any user can read devd events | marcus | 2005-07-13 | 1 | -1/+3 |
| | | | | | | | | | | from this socket * Enable non-blocking I/O on devd.pipe to keep clients from wedging devd. If a write(2) on devd.pipe would block, the client in question will be removed [1] Requested by: rwatson [1] Approved by: imp | ||||
* | Replace fch{mod,own} with straight ch{mod,own} as the former cannot be used | marcus | 2005-07-13 | 1 | -2/+2 |
| | | | | | | | on socket file descriptors. Reviewed by: secteam (cperciva) Approved by: imp | ||||
* | Add the ability to match the on a media type of the device in question. | imp | 2005-07-10 | 5 | -1/+101 |
| | | | | | Submitted by: sam Approved by: re (scottl) | ||||
* | Ignore sigpipe so we can properly detach clients to the pipe. | imp | 2005-05-16 | 1 | -0/+2 |
| | | | | Submitted by: Fredrik Lindberg | ||||
* | Fix parsing of nomatch events. | imp | 2005-04-18 | 1 | -3/+6 |
| | | | | minor debug fix. | ||||
* | Sync program's usage() with manpage's SYNOPSIS. | ru | 2005-02-10 | 1 | -1/+1 |
| | |||||
* | Scheduled mdoc(7) sweep. | ru | 2005-01-10 | 1 | -1/+1 |
| | |||||
* | NOSHARED -> NO_SHARED | ru | 2004-12-21 | 1 | -1/+1 |
| | |||||
* | Clarify that devd will only parse files whose names end in .conf. | ceri | 2004-11-28 | 1 | -1/+3 |
| | | | | | | | | Prompted by PR: docs/73668 Submitted by: Dan Pelleg MFC After: 3 days | ||||
* | mdoc(7) fixes. | ru | 2004-07-07 | 1 | -1/+3 |
| | |||||
* | Create a unix domain socket and write to it all the events that come | imp | 2004-07-01 | 2 | -14/+91 |
| | | | | in over the socket. | ||||
* | Parse the ! lines that will soon be coming from the kernel. These are | imp | 2003-10-24 | 5 | -10/+48 |
| | | | | | | | | | | 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. | ||||
* | fix typo: s/Instaed/Instead/ | rse | 2003-09-26 | 1 | -1/+1 |
| | |||||
* | At imp's request, force devd to be statically compiled. This avoids the | gordon | 2003-08-17 | 1 | -0/+2 |
| | | | | | | | need for libstdc++ in /lib, and the generated binary is actually smaller statically linked than dynamically + sizeof(libstdc++). Additionally, devd doesn't use get*by*() which is one of the main motivations for dynamically linking your root partition anyway. | ||||
* | Simplistic C comment re is wrong, use more correct one | imp | 2003-07-23 | 1 | -1/+1 |
| | |||||
* | Remove old workaround | imp | 2003-07-23 | 1 | -3/+1 |
| | |||||
* | Drop the pid file after we call the final daemon call. w/o -n would | imp | 2003-07-05 | 1 | -2/+4 |
| | | | | | | | give the wrong pid. Submitted by: ru and Lukas Ertl PR: 54113 | ||||
* | mdoc(7) fixes: Expand contraction. | ru | 2003-05-17 | 1 | -1/+1 |
| |