diff options
author | Kay Sievers <kay.sievers@vrfy.org> | 2011-12-27 06:14:59 +0100 |
---|---|---|
committer | Kay Sievers <kay.sievers@vrfy.org> | 2011-12-27 06:14:59 +0100 |
commit | 86a0d004c397d985505c5204fe1fbecb340f6076 (patch) | |
tree | e7268ac75a938afcb2bd2cbf8351cdda80571749 | |
parent | 4f1795cca7060030461c8f3429e5a62f143f74a9 (diff) |
udevd: always create runtime dir
<falconindy> kay: udev no longer makes /run/udev on its own?
<kay> falconindy: added back!
-rw-r--r-- | udev/udevd.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/udev/udevd.c b/udev/udevd.c index f810b9431c..c1a4fcfa7c 100644 --- a/udev/udevd.c +++ b/udev/udevd.c @@ -1318,6 +1318,9 @@ int main(int argc, char *argv[]) chdir("/"); umask(022); + /* /run/udev */ + mkdir(udev_get_run_path(udev), 0755); + /* create standard links, copy static nodes, create nodes from modules */ static_dev_create(udev); static_dev_create_from_modules(udev); |