Files
buildroot/package
Jörg Krause 6919fc5566 sysvinit: 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 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
..
2018-03-01 23:19:20 +01:00
2018-04-28 15:12:08 +02:00
2017-11-03 17:21:14 +01:00
2018-04-01 16:22:25 +02:00
2017-10-30 20:43:39 +01:00
2018-02-02 11:58:01 +01:00
2018-01-29 14:39:17 +01:00
2018-03-02 08:38:33 +01:00
2017-12-06 22:22:41 +01:00
2018-02-03 19:57:10 +01:00
2018-03-05 21:04:14 +01:00
2018-03-30 08:30:51 +02:00
2017-10-08 23:09:58 +02:00
2017-11-05 17:45:05 +01:00
2018-04-28 18:59:01 +02:00
2018-01-16 23:10:09 +01:00
2018-04-22 14:42:08 +02:00
2017-11-05 17:45:05 +01:00
2018-04-28 18:29:04 +02:00
2017-11-15 23:11:16 +01:00
2018-04-19 23:40:33 +02:00
2018-04-15 20:36:51 +02:00
2018-04-28 12:48:48 +02:00
2018-04-19 23:40:33 +02:00
2018-04-09 23:42:28 +02:00
2018-05-01 15:36:22 +02:00
2017-12-31 17:28:49 +01:00
2017-11-05 17:45:05 +01:00
2018-04-19 23:40:33 +02:00
2018-03-02 08:36:45 +01:00
2018-03-03 23:26:08 +01:00
2018-04-20 08:33:08 +02:00
2018-02-27 21:34:36 +01:00
2018-01-23 15:32:32 +01:00
2018-03-23 16:29:22 +01:00
2018-03-23 16:29:22 +01:00
2018-03-17 09:36:47 +01:00
2018-01-29 22:27:19 +01:00
2018-04-15 21:44:55 +02:00
2018-02-20 09:04:53 +01:00
2017-11-22 22:29:49 +01:00
2017-12-26 17:33:52 +01:00
2017-12-01 22:21:35 +01:00
2017-11-22 22:20:17 +01:00
2018-04-19 23:40:33 +02:00
2018-01-25 21:30:01 +01:00
2017-11-05 17:45:06 +01:00
2017-11-05 17:45:06 +01:00
2018-03-29 18:11:07 +02:00
2018-04-15 22:05:27 +02:00
2017-11-15 22:04:15 +01:00
2018-04-02 15:45:02 +02:00
2017-12-08 17:54:51 +01:00
2018-04-01 13:53:59 +02:00
2018-03-01 14:04:40 +01:00
2018-02-19 20:55:27 +01:00
2017-11-02 21:18:24 +01:00
2018-03-08 09:05:51 +01:00
2017-12-01 23:30:34 +01:00
2018-04-01 14:38:35 +02:00
2017-11-22 22:29:39 +01:00
2017-10-17 22:47:03 +02:00
2018-01-27 11:14:16 +01:00
2018-01-02 10:10:23 +01:00
2018-04-01 21:00:31 +02:00
2018-04-15 22:05:37 +02:00
2018-02-19 20:51:49 +01:00
2018-05-01 21:25:49 +02:00
2018-03-06 15:44:18 +01:00
2018-02-28 20:45:08 +01:00
2017-11-20 23:22:53 +01:00
2018-04-05 21:04:31 +02:00
2017-11-22 21:34:06 +01:00
2018-04-09 11:18:29 +02:00
2018-03-05 21:22:00 +01:00
2017-12-08 17:48:13 +01:00
2017-10-22 14:04:44 +02:00
2018-05-01 15:21:32 +02:00
2018-04-29 16:17:53 +02:00
2018-04-29 18:09:44 +02:00
2018-04-29 18:16:32 +02:00
2018-04-29 16:12:29 +02:00
2018-04-29 16:18:22 +02:00
2018-04-29 18:17:29 +02:00
2018-04-09 11:16:40 +02:00
2018-03-26 23:18:16 +02:00
2018-04-28 15:26:26 +02:00
2018-04-28 18:59:04 +02:00
2018-03-08 09:05:26 +01:00
2018-04-29 09:57:30 +02:00
2018-04-30 17:38:26 +02:00
2018-04-29 19:27:30 +02:00
2018-04-29 19:29:00 +02:00
2018-03-09 22:26:30 +01:00
2017-11-05 17:45:06 +01:00
2018-04-30 17:38:21 +02:00
2018-04-30 09:36:42 +02:00
2018-04-30 17:38:30 +02:00
2018-04-12 21:19:09 +02:00
2018-04-30 17:38:37 +02:00
2017-12-31 17:58:39 +01:00
2018-04-30 17:38:38 +02:00
2018-05-01 11:48:09 +02:00
2018-05-01 11:48:24 +02:00
2018-05-01 11:43:57 +02:00
2018-05-01 21:45:13 +02:00
2018-04-09 11:23:11 +02:00
2018-02-08 23:05:21 +01:00
2018-04-09 11:12:54 +02:00
2018-01-28 23:33:31 +01:00
2017-11-15 23:12:00 +01:00
2017-11-17 21:47:54 +01:00
2018-03-13 23:27:14 +01:00
2017-11-13 21:34:09 +01:00
2018-04-15 22:05:40 +02:00
2018-02-08 23:05:44 +01:00
2018-04-15 22:05:42 +02:00
2017-11-05 17:45:06 +01:00
2018-02-14 22:05:26 +01:00
2018-04-06 22:18:57 +02:00
2018-03-10 22:24:09 +01:00
2018-04-27 22:25:15 +02:00
2018-03-04 10:15:25 +01:00
2018-02-10 10:12:54 +01:00
2018-01-03 22:42:04 +01:00
2017-12-19 11:01:30 +01:00
2018-04-12 21:16:24 +02:00
2018-01-23 08:33:39 +01:00
2017-10-11 23:49:55 +02:00
2018-01-16 23:15:54 +01:00
2017-12-14 06:49:57 +01:00
2017-11-22 22:17:12 +01:00
2017-10-21 10:01:50 +02:00
2017-12-13 08:42:14 +01:00
2017-11-05 17:45:06 +01:00
2018-03-18 15:16:46 +01:00
2018-04-17 08:56:57 +02:00
2018-03-05 21:04:14 +01:00
2017-12-26 17:39:21 +01:00
2018-04-19 23:40:33 +02:00
2018-04-01 22:08:14 +02:00
2018-04-28 18:59:06 +02:00
2018-05-01 21:25:53 +02:00
2018-04-19 22:44:57 +02:00
2018-03-06 11:03:12 +01:00
2017-11-25 13:21:29 +01:00
2017-12-26 17:33:24 +01:00
2018-03-06 11:05:25 +01:00
2017-12-29 23:32:31 +01:00
2018-04-18 10:58:06 +02:00
2018-01-07 15:13:53 +01:00
2017-12-28 22:53:34 +01:00
2017-11-02 21:23:27 +01:00
2018-04-03 22:43:55 +02:00
2018-04-10 09:28:46 +02:00
2018-03-30 21:43:31 +02:00
2018-03-30 21:48:18 +02:00
2018-04-15 22:05:44 +02:00
2018-04-09 20:59:02 +02:00
2018-04-30 17:38:25 +02:00
2017-11-05 17:45:07 +01:00
2018-04-17 08:45:40 +02:00
2018-01-17 22:36:35 +01:00
2018-01-17 22:36:21 +01:00
2018-04-19 23:40:33 +02:00
2018-03-05 21:04:14 +01:00
2018-04-27 22:25:57 +02:00
2018-02-05 07:08:42 +01:00
2018-04-19 23:40:33 +02:00
2017-10-27 13:51:22 +02:00
2018-01-17 23:37:56 +01:00
2018-03-01 23:29:18 +01:00
2018-04-01 14:16:50 +02:00
2018-03-08 09:05:22 +01:00
2018-04-25 21:36:20 +02:00
2017-10-27 13:48:57 +02:00
2018-01-22 22:32:41 +01:00
2018-03-09 22:24:25 +01:00
2017-12-01 23:08:13 +01:00
2018-02-13 23:09:47 +01:00
2018-02-26 23:42:56 +01:00
2018-02-08 23:07:07 +01:00
2018-05-01 21:29:31 +02:00
2018-01-07 21:37:12 +01:00
2018-05-01 21:29:32 +02:00
2017-11-05 17:45:08 +01:00
2018-05-01 09:35:41 +02:00
2017-11-03 18:46:44 +01:00
2018-03-06 11:03:51 +01:00
2017-12-18 09:52:41 +01:00
2018-05-01 21:29:28 +02:00
2018-03-29 21:19:54 +02:00
2017-11-11 23:32:36 +01:00
2017-10-29 15:51:20 +01:00
2017-11-29 21:15:20 +01:00
2018-04-29 16:17:22 +02:00
2018-04-25 23:48:49 +02:00
2018-04-22 23:34:30 +02:00
2017-11-02 23:11:03 +01:00
2017-12-07 22:14:44 +01:00
2018-01-01 23:03:51 +01:00
2018-03-29 16:06:14 +02:00
2018-04-04 22:55:38 +02:00
2018-04-20 10:56:19 +02:00
2017-10-31 20:11:56 +01:00
2018-03-18 23:28:32 +01:00
2018-04-03 15:44:16 +02:00
2018-03-24 11:37:51 +01:00
2018-04-19 22:42:54 +02:00
2018-02-03 08:24:48 +01:00
2018-04-28 23:09:05 +02:00
2017-12-06 21:34:36 +01:00
2018-02-03 20:31:13 +01:00
2018-04-17 08:54:04 +02:00
2018-04-27 22:29:26 +02:00
2018-01-01 17:05:40 +01:00
2018-04-28 23:29:02 +02:00
2017-12-19 21:51:00 +01:00
2018-02-03 20:05:59 +01:00
2018-02-08 22:04:53 +01:00
2018-03-31 09:05:24 +02:00
2018-04-04 22:53:33 +02:00
2018-04-12 21:16:58 +02:00
2018-02-05 18:18:16 +01:00
2018-04-11 16:18:41 +02:00
2018-03-01 23:16:34 +01:00
2018-03-27 09:46:38 +02:00
2018-01-26 13:38:43 +01:00
2018-04-19 23:40:33 +02:00
2018-02-19 20:32:43 +01:00
2018-01-03 22:42:52 +01:00
2018-04-19 23:40:33 +02:00
2018-04-27 18:25:01 +02:00
2018-04-10 14:53:32 +02:00
2018-04-25 23:46:55 +02:00
2018-04-19 23:40:33 +02:00
2018-04-30 17:45:41 +02:00
2018-04-09 22:05:31 +02:00