aboutsummaryrefslogtreecommitdiff
path: root/miscutils/devfsd.c
AgeCommit message (Collapse)Author
2006-11-27style cleanup: return(a) -> return a, part 2Denis Vlasenko
2006-11-27style cleanup: return(a) -> return a, part 1Denis Vlasenko
2006-11-05rename: compare_string_array -> index_in_str_arrayDenis Vlasenko
introduce index_in_substr_array and use it in iproute2
2006-10-26remove bb_printf and the likeDenis Vlasenko
2006-10-03bb_applet_name -> applet_nameDenis Vlasenko
2006-08-03Remove bb_ prefixes from xfuncs.c (and a few other places), consolidateRob Landley
things like xasprintf() into xfuncs.c, remove xprint_file_by_name() (it only had one user), clean up lots of #includes... General cleanup pass. What I've been doing for the last couple days. And it conflicts! I've removed httpd.c from this checkin due to somebody else touching that file. It builds for me. I have to catch a bus. (Now you know why I'm looking forward to Mercurial.)
2006-07-12Add one-line GPL boilerplate to numerous (but not all yet) source files."Robert P. J. Day"
2006-07-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-06-25- convert old-style parameter declarations (K&R) to modern style.Bernhard Reutner-Fischer
2006-06-08Patch from Erik Hovland, via Tito.Rob Landley
2006-05-27Consolidate #include <sys/time.h> so libbb.h does it.Rob Landley
2006-02-22Patch from Denis Vlasenko to constify things and fix a few typos.Rob Landley
2006-02-01removed anoinig warnings"Vladimir N. Oleynik"
2006-01-30fix up yet more annoying signed/unsigned and mixed type errorsEric Andersen
2006-01-25just whitespaceTim Riker
2005-12-06restore compare_string_array new interface (make broken by landley)"Vladimir N. Oleynik"
2005-10-08Coprolith polishing time: Tito switched devfsd over from CONFIG_ to ENABLE_.Rob Landley
2005-09-14split libbb: moved xregcomp separatelly for speed up recompile"Vladimir N. Oleynik"
2005-09-14removed strange extern void xregcomp(... from some applets, but declared ↵"Vladimir N. Oleynik"
from libbb.h
2005-07-31eat leading whitespace with preprocessorMike Frysinger
2005-06-07Tito posted a devfsd error message fix. It's highly deprecated and willRob Landley
presumably be removed eventually (use udev), but as long as it's in there. Tito says: The sense of this patch is to call: read_config_file_err: #ifdef CONFIG_DEVFSD_VERBOSE msg_logger(((optional == 0 ) && (errno == ENOENT))? DIE : NO_DIE, LOG_ERR, "read config file: %s: %m\n", path); #else if(optional == 0 && errno == ENOENT) exit(EXIT_FAILURE); #endif just after the failure of the call that set errno ( stat and fopen) to avoid false error messages.
2004-10-13Make certain clients of bb_make_directory default to honoringEric Andersen
the user's umask
2004-04-14Larry Doolittle writes:Eric Andersen
This is a bulk spelling fix patch against busybox-1.00-pre10. If anyone gets a corrupted copy (and cares), let me know and I will make alternate arrangements. Erik - please apply. Authors - please check that I didn't corrupt any meaning. Package importers - see if any of these changes should be passed to the upstream authors. I glossed over lots of sloppy capitalizations, missing apostrophes, mixed American/British spellings, and German-style compound words. What is "pretect redefined for test" in cmdedit.c? Good luck on the 1.00 release! - Larry
2004-02-22Patch from Florian Schirmer. compile fix for debug buildsGlenn L McGrath
2004-02-04Bug fix from Tito.Glenn L McGrath
2003-12-19Tito writes:Eric Andersen
Hi to all, here is a new patch for bb's devfsd. The news are: 1) Size reduction for the basic setup with no options compiled in from : text data bss dec hex filename 10591 392 543 11526 2d06 devfsd.o rw-r--r-- 1 root root 18536 Dec 18 21:52 devfsd.o to: text data bss dec hex filename 9303 392 543 10238 27fe devfsd.o rw-r--r-- 1 root root 16528 Dec 18 22:02 devfsd.o With this setup you should not expect much output from devfsd ( just at start or with -v) and if some error occurs it only exits 1. To have more output enable: " Increases logging (and size)" (+1568 b). 2) The option "Adds function names to program output" was removed from config menu and now to enable debug output you can use bb's standard option: "Build BusyBox with Debugging symbols". Be careful as with this option enabled a lot of data are outputted to /dev/log and/or to stderr. 3) A new option: "Enables the -fg and -np option" was added to config menu (+128 b). BTW: option "Adds support for MODLOAD keyword in devsfd.conf" adds 268 b. 4) The following keywords in devsfd.conf are supported: "CLEAR_CONFIG", "INCLUDE", "OPTIONAL_INCLUDE", "RESTORE", "PERMISSIONS", "EXECUTE", "COPY", "IGNORE", "MKOLDCOMPAT", "MKNEWCOMPAT","RMOLDCOMPAT", "RMNEWCOMPAT". But only if they are written UPPERCASE!!!!!!!! 5)Help text in usage.h was modified. 6)Something that I have forgotten.......... I've tested this for the last week on my box and it seems to work as expected. Thanks in advance and please apply. Ciao, Tito
2003-11-30Patch from Tito, size optimisation, cleanup noise when in debuggingGlenn L McGrath
mode, adds support for MODLOAD keyword in devfsd.conf, provides a cleaned up version of example/devfsd.conf
2003-10-22Tito writes:Eric Andersen
Hi to all, I'm sorry but I didn't spot this big fat bug until now, Matteo Croce emailed me about it. Please apply this patch as the devfsd applet is broken and works only on a system booted with a standard devfsd ( the test I mostly did :-( ), but if used at boot time it DOESN'T WORK. Thanks in advance and please apply Tito
2003-10-17old gccTim Riker
2003-10-09Do not use kernel headersEric Andersen
2003-10-09New applet, devfsd, by Matteo Croce and TitoGlenn L McGrath