summaryrefslogtreecommitdiff
path: root/udev_db.c
diff options
context:
space:
mode:
authorMatthias Schwarzott <zzam@gentoo.org>2007-03-13 22:27:21 +0100
committerKay Sievers <kay.sievers@vrfy.org>2007-03-13 22:27:21 +0100
commit5edec024b1ed7bbdf73095791c13df324038c31d (patch)
tree364b87755b639ccd101b21890570f6d678da3f42 /udev_db.c
parentd7eeab1194a370c23405eecf2074f4b25d7a7ce0 (diff)
udevd: cleanup std{in,our,err} on startup
It occurs, when root-partition has no /dev/console, meaning that kernel could not open it, and such udevd is started without open filedescriptors 0 1 2. In that case udevd openes its sockets (netlink and control). They get fds between 0 and 2. Later duping /dev/null to 0 1 2 closes the sockets and replaces them with /dev/null. The error condition can also be reproduced by starting udevd with this command-line: udevd --daemon <&- >&- 2>&-
Diffstat (limited to 'udev_db.c')
0 files changed, 0 insertions, 0 deletions