2b21ba2fac
Some applications, e.g. bashs process subsitution feature, rely on the convention of `/dev/fd` being a symbolic link to `/proc/self/fd`. When a static /dev is used on a readonly rootfs then the runtime ln invocations in the inittab will fail, so we need to add the symlinks at build time. Makedevs doesn't support creating symlinks, so instead add the symlinks to the default skeleton. For non-static /dev setups, the kernel will mount devtmpfs which shadows the /dev of the rootfs, but then the runtime ln invocations in inittab will create the symlinks. Signed-off-by: Peter Korsgaard <peter@korsgaard.com>
Symbolic link
1 line
17 B
Plaintext
Symbolic link
1 line
17 B
Plaintext
../proc/self/fd/2 |