diff options
author | Natanael Copa <ncopa@alpinelinux.org> | 2012-11-19 07:57:27 +0000 |
---|---|---|
committer | Natanael Copa <ncopa@alpinelinux.org> | 2012-11-19 07:57:27 +0000 |
commit | 5ec4832773427ee528ec883805c69cd5d4461241 (patch) | |
tree | 2c8073e322355b6d3a6d5605b18baa2b09eb8a63 /main/udev/udev-mount.initd | |
parent | 20dfee5aff22b445738a27d737b31121b709d920 (diff) | |
download | aports-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.initd | 2 |
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 } |