aboutsummaryrefslogtreecommitdiffstats
path: root/main/udev/udev-mount.initd
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2012-11-19 07:57:27 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2012-11-19 07:57:27 +0000
commit5ec4832773427ee528ec883805c69cd5d4461241 (patch)
tree2c8073e322355b6d3a6d5605b18baa2b09eb8a63 /main/udev/udev-mount.initd
parent20dfee5aff22b445738a27d737b31121b709d920 (diff)
downloadaports-5ec4832773427ee528ec883805c69cd5d4461241.tar.bz2
aports-5ec4832773427ee528ec883805c69cd5d4461241.tar.xz
main/udev: make sure /dev/fd is a symlink to /proc/self/fd
ref #1465
Diffstat (limited to 'main/udev/udev-mount.initd')
-rw-r--r--main/udev/udev-mount.initd2
1 files changed, 2 insertions, 0 deletions
diff --git a/main/udev/udev-mount.initd b/main/udev/udev-mount.initd
index f0d8cc39f2..55100f3802 100644
--- a/main/udev/udev-mount.initd
+++ b/main/udev/udev-mount.initd
@@ -44,6 +44,8 @@ seed_dev()
# Create problematic directories
mkdir -p /dev/pts /dev/shm
+ rm -rf /dev/fd
+ ln -snf /proc/self/fd /dev/fd
return 0
}