I'm wondering what creates /dev/stderr on FC14. rpm -qf doesn't show any package ownership. I've dug through the init scripts and can't find it anywhere.
To provide some context, I'm creating a chroot'd jail to start with lxc.
The canonical creator of these files is "makedev". It does have a man page. Makedev, however, simply creates symlinks to /proc/self/fd/2 for /dev/stderr.
There are entries for stdin, stdout and stderr in /lib/udev/devices. I don't think you should have to do anything special for them in a chrooted environment.
The canonical creator of these files is "makedev". It does have a man page. Makedev, however, simply creates symlinks to /proc/self/fd/2 for /dev/stderr.
The answer is: udev
It's magical!
There are entries for stdin, stdout and stderr in
/lib/udev/devices
. I don't think you should have to do anything special for them in a chrooted environment.See also here. Also interesting.