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
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
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
fdisk_osf.c
fdisk_sgi.c
fdisk_sun.c
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
hexdump.c config: update size information 2018-12-28 03:20:17 +01:00
hwclock.c
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
Kbuild.src
last_fancy.c
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
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
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