Logo
Explore Help
Sign In
Narcissus/shredos.x86_64
2
0
Fork 1
You've already forked shredos.x86_64
mirror of https://github.com/PartialVolume/shredos.x86_64.git synced 2026-02-22 18:42:11 +00:00
Code Issues Packages Projects Releases Wiki Activity
Files
fc75f57504bd2cae9445bed07b0e2de548c9514c
shredos.x86_64/system/skeleton/dev/stdout

1 line
17 B
Plaintext
Raw Normal View History

skeleton: add /dev/fd, /dev/std{in, out, err} symlinks for static /dev on readonly rootfs 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>
2018-05-01 21:41:56 +02:00
../proc/self/fd/1
Reference in New Issue Copy Permalink
Powered by Gitea Version: 1.25.4 Page: 221ms Template: 1ms
English
Bahasa Indonesia Deutsch English Español Français Gaeilge Italiano Latviešu Magyar nyelv Nederlands Polski Português de Portugal Português do Brasil Suomi Svenska Türkçe Čeština Ελληνικά Български Русский Українська فارسی മലയാളം 日本語 简体中文 繁體中文(台灣) 繁體中文(香港) 한국어
Licenses API