busybox/util-linux
Jan Klötzke 498cec202a mdev: add support to run as daemon
Adds the -d option to run mdev in daemon mode handling hotplug events
from the kernel like udev. If the system generates many hotplug events
this mode of operation will consume less resources than registering
mdev as hotplug helper or using the uevent applet.

function                                             old     new   delta
daemon_loop                                            -     152    +152
initial_scan                                           -     127    +127
open_mdev_log                                          -      85     +85
mdev_main                                            255     314     +59
packed_usage                                       33284   33316     +32
process_action                                      1051     992     -59
------------------------------------------------------------------------------
(add/remove: 3/0 grow/shrink: 2/1 up/down: 455/-59)           Total: 396 bytes

Signed-off-by: Jan Klötzke <jan@kloetzke.net>
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
2019-06-03 13:24:49 +02:00
..
volume_id Fix off by one error in FAT16 <=> FAT32 detection 2019-03-15 09:57:24 +01:00
acpid.c config: update size information 2018-12-28 03:20:17 +01:00
blkdiscard.c config: update size information 2018-12-28 03:20:17 +01:00
blkid.c config: update size information 2018-12-28 03:20:17 +01:00
blockdev.c blockdev: code shrink 2019-03-30 20:07:21 +01:00
cal.c config: update size information 2018-12-28 03:20:17 +01:00
chrt.c chrt: fix for SCHED_RESET_ON_FORK bit 2019-04-05 16:59:07 +02:00
Config.src restore documentation on the build config language 2018-06-06 15:16:48 +02:00
dmesg.c config: update size information 2018-12-28 03:20:17 +01:00
eject.c config: update size information 2018-12-28 03:20:17 +01:00
fallocate.c config: update size information 2018-12-28 03:20:17 +01:00
fatattr.c fatattr: make NOEXEC 2017-08-07 22:21:54 +02:00
fbset.c config: update size information 2018-12-28 03:20:17 +01:00
fdformat.c config: update size information 2018-12-28 03:20:17 +01:00
fdisk_aix.c
fdisk_gpt.c unzip: use printable_string() for printing filenames 2018-09-30 16:56:56 +02:00
fdisk_osf.c Fix build failures if MAXHOSTNAMELEN or MAXPATHLEN is not defined 2017-10-31 15:59:19 +01:00
fdisk_sgi.c fdisk: sync up with some util-linux 2.31 behavior 2018-07-25 13:52:30 +02:00
fdisk_sun.c fdisk: sync up with some util-linux 2.31 behavior 2018-07-25 13:52:30 +02:00
fdisk.c config: update size information 2018-12-28 03:20:17 +01:00
findfs.c config: update size information 2018-12-28 03:20:17 +01:00
flock.c config: update size information 2018-12-28 03:20:17 +01:00
freeramdisk.c config: update size information 2018-12-28 03:20:17 +01:00
fsck_minix.c config: add size information for three more applets 2018-12-28 13:37:44 +01:00
fsfreeze.c config: update size information 2018-12-28 03:20:17 +01:00
fstrim.c config: update size information 2018-12-28 03:20:17 +01:00
getopt.c config: update size information 2018-12-28 03:20:17 +01:00
hexdump_xxd.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
hexdump.c config: update size information 2018-12-28 03:20:17 +01:00
hwclock.c getopt32: remove opt_complementary 2017-08-08 21:55:02 +02:00
ionice.c config: update size information 2018-12-28 03:20:17 +01:00
ipcrm.c config: update size information 2018-12-28 03:20:17 +01:00
ipcs.c ipcs: further code shrink 2018-03-08 13:23:06 +01:00
Kbuild.src
last_fancy.c Sort some miscutils/ applets into coreutils or util-linux 2017-04-12 13:58:40 +02:00
last.c config: update size information 2018-12-28 03:20:17 +01:00
losetup.c losetup: Add partition scanning option 2019-05-30 16:22:52 +02:00
lspci.c config: update size information 2018-12-28 03:20:17 +01:00
lsusb.c config: update size information 2018-12-28 03:20:17 +01:00
mdev.c mdev: add support to run as daemon 2019-06-03 13:24:49 +02:00
mesg.c config: update size information 2018-12-28 03:20:17 +01:00
minix.h
mkfs_ext2_test.sh fix more instances of ": $((a++))" in shell scripts 2017-07-15 19:20:45 +02:00
mkfs_ext2.c config: update size information 2018-12-28 03:20:17 +01:00
mkfs_ext2.txt
mkfs_minix.c config: add size information for three more applets 2018-12-28 13:37:44 +01:00
mkfs_reiser.c move storage helpers to libbb.h 2018-09-28 15:13:04 +02:00
mkfs_vfat.c config: update size information 2018-12-28 03:20:17 +01:00
mkswap.c config: update size information 2018-12-28 03:20:17 +01:00
more.c config: update size information 2018-12-28 03:20:17 +01:00
mount.c style fix, no code changes 2019-05-14 17:26:47 +02:00
mountpoint.c config: update size information 2018-12-28 03:20:17 +01:00
nologin.c hush: allow hush to run embedded scripts 2018-11-27 16:13:07 +01:00
nsenter.c config: update size information 2018-12-28 03:20:17 +01:00
pivot_root.c config: update size information 2018-12-28 03:20:17 +01:00
rdate.c config: update size information 2018-12-28 03:20:17 +01:00
rdev.c config: update size information 2018-12-28 03:20:17 +01:00
readprofile.c config: update size information 2018-12-28 03:20:17 +01:00
renice.c config: update size information 2018-12-28 03:20:17 +01:00
rev.c config: update size information 2018-12-28 03:20:17 +01:00
rtcwake.c config: update size information 2018-12-28 03:20:17 +01:00
script.c config: update size information 2018-12-28 03:20:17 +01:00
scriptreplay.c config: update size information 2018-12-28 03:20:17 +01:00
setarch.c config: update size information 2018-12-28 03:20:17 +01:00
setpriv.c config: update size information 2018-12-28 03:20:17 +01:00
setsid.c config: update size information 2018-12-28 03:20:17 +01:00
swaponoff.c config: update size information 2018-12-28 03:20:17 +01:00
switch_root.c config: update size information 2018-12-28 03:20:17 +01:00
taskset.c config: update size information 2018-12-28 03:20:17 +01:00
uevent.c config: update size information 2018-12-28 03:20:17 +01:00
umount.c config: update size information 2018-12-28 03:20:17 +01:00
unshare.c config: update size information 2018-12-28 03:20:17 +01:00
wall.c config: update size information 2018-12-28 03:20:17 +01:00