buildroot/package/busybox
Jörg Krause 456ea9871e busybox: add /dev/std{in, out, err} symlinks to inittab
Some applications, e.g. bashs process subsitution feature, rely on the
convention of `/dev/fd` being a symbolic link to `/proc/self/fd`.

This symbolic link and his companions `/dev/std*` are created by (e)udev [1],
but not by mdev, resulting in the following error when using the following
expression:

```
bash: /dev/fd/62: No such file or directory
```

For the sake of simplicity, lets fix this by creating the symlinks in inittab.
It is only really needed if eudev isn't used, but it doesn't really hurt to
create them even if eudev will recreate them afterwards.

Note, that we do not create the symlink `/dev/core` as `/proc/kcore` is
not available on all platforms, e.g. ARM, and the feature is not much
appreciated [2].

[1] 8943501993/src/shared/dev-setup.c (L35-L40)
[2] https://lwn.net/Articles/45315/

[Peter: redirect output (errors) to /dev/null for ro rootfs]
Signed-off-by: Jörg Krause <joerg.krause@embedded.rocks>
Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
2018-05-01 21:53:45 +02:00
..
0001-networking-libiproute-use-linux-if_packet.h-instead-.patch
0002-Makefile.flags-strip-non-l-arguments-returned-by-pkg.patch busybox: bump to 1.28.0 2018-02-08 23:21:27 +01:00
busybox-minimal.config busybox: bump to 1.28.0 2018-02-08 23:21:27 +01:00
busybox.config busybox: bump to 1.28.0 2018-02-08 23:21:27 +01:00
busybox.hash busybox: bump to version 1.28.3 2018-04-03 23:17:53 +02:00
busybox.mk busybox: bump to version 1.28.3 2018-04-03 23:17:53 +02:00
Config.in package: remove Blackfin related code 2018-04-15 22:05:30 +02:00
inittab busybox: add /dev/std{in, out, err} symlinks to inittab 2018-05-01 21:53:45 +02:00
mdev.conf busybox: fix mdev.conf 2017-03-25 14:54:17 +01:00
S01logging
S10mdev package/busybox: support spaces in module aliases in mdev 2016-07-02 13:15:50 +02:00
S15watchdog
S50telnet busybox: allow the user to set the telnetd options 2016-11-07 22:58:04 +01:00
udhcpc.script