aboutsummaryrefslogtreecommitdiff
path: root/util-linux/mdev.c
AgeCommit message (Collapse)Author
2007-06-14Alex Landau writes: open firmware for reading, not writingMike Frysinger
2007-06-13as suggested by Renaud Cerrato and Souf, switch over to recursive_action() ↵Mike Frysinger
for some nice shrinkage and so we work even when CONFIG_SYSFS_DEPRECATED is off
2007-06-13add support for firmware loadingMike Frysinger
2007-06-08mdev: microscopic enhancement, should change nothingDenis Vlasenko
2007-06-03find_stray_communal_vars: script which finds communal variablesDenis Vlasenko
resize: remove globals var mdev: remove globals var
2007-05-26usage.c: remove reference to busybox.hDenis Vlasenko
*: s/include "busybox.h"/include "libbb.h"
2007-04-04- sed -e "s/char[[:space:]]*\*[[:space:]]*argv\[\]/char **argv/g"Bernhard Reutner-Fischer
2007-02-03suppress warnings about easch <applet>_main() havingDenis Vlasenko
no preceding prototype
2007-01-29preparatory patch for -Wwrite-strings #2Denis Vlasenko
2006-11-26small fixes:Denis Vlasenko
fix xstrdup to not grossly overallocate memory use xopen instean of xopen3 in several places etc.
2006-10-16mdev: reduce excessive indentationDenis Vlasenko
2006-10-14add open_read_close() and similar stuffDenis Vlasenko
2006-10-03lots of silly indent fixesDenis Vlasenko
2006-09-29Yet another silly little byte saving. couldn't -> cannotDenis Vlasenko
2006-09-22Change license statements (and clean up headers) on some of the files thatRob Landley
Erik or I are primary copyright holders on.
2006-09-17whitespace cleanupDenis Vlasenko
2006-08-10Patch from Chris Steel to fix mdev deleting device nodes.Rob Landley
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-02Standardize on the vi editing directives being on the first line."Robert P. J. Day"
2006-06-26Upgrade mdev to allow commands to be run on create/delete.Rob Landley
Both Jason Schoon and Giuseppe Ciotta deserve credit for this, I used elements of both.  It's been upgraded so that you can specify that a given command should run at create, at delete, or at both using different special characters (@, $, and * respectively).  It uses the system() method of running command lines which means you can use environment variables on the command line (it sets $MDEV to the name of the current device being created/deleted, which is useful if you matched it via regex), and the documentation warns that you need a /bin/sh to make that work, so you probably want to pick a default shell.
2006-06-13Work around a persistent uClibc bug, since 0.9.29 still hasn't shipped.Rob Landley
Poked to do this by Jason Schoon.
2006-05-21Convert to a global struct, the way sed was. Now I have two, I can work outRob Landley
the infrastructure to merge global structs into a union...
2006-05-08Shrink the code about 50 bytes, allocate less run-time memory, and add aRob Landley
comment that null terminating the string we sscanf() shouldn't be required since the kernel adds \n to the end of it and sscanf will stop there.
2006-02-21Create /dev/root symlink pointing to real root device, if any.Rob Landley
2006-02-07add back in path nulling after calling find_dev() since it is needed for now ...Mike Frysinger
2006-02-03cleanup style ... just because you use less spaces doesnt mean the resulting ↵Mike Frysinger
code is smaller
2006-02-03shrink the code a bitMike Frysinger
2006-02-03gavinl writes in Bug 661:Mike Frysinger
if read() file return less than 1, we should close the fd and then goto end.
2006-01-25just whitespaceTim Riker
2006-01-22There was a missing ! on strcmp (despite the fact it worked in my testing,Rob Landley
I have no idea _how_), and a simpler fix for the extra \n problem. I tested this and it worked for me, for what that's worth...
2006-01-12Frank Sorenson added hotplug support to mdev. (I tweaked it a bit. NeedRob Landley
to come up with a test suite for all the stuff that requires root access. Something involving User Mode Linux or QEMU, probably...)
2006-01-12The major:minor read from dev ends with \n, need to trim that.Rob Landley
2006-01-04use MAP_PRIVATE instead of MAP_SHARED for uClinux systems (see Bug 550)Mike Frysinger
2005-12-17Sigh. Left the debug path in. Fixed.Rob Landley
2005-12-17Added /etc/mdev.conf support. Adds about 1.9k to mdev.Rob Landley
2005-12-13Nothing to see here. Move along.Rob Landley
Not buying it, eh? I know I said new features before 1.1, but, well... (I was weak!) The config file and hotplug modes aren't implemented yet. Might take a stab at those tomorrow. (I _should_ go back to focusing on the bug triage list.)