Chet Ramey wrote:
> Bob Proulx wrote:
> > That is one of the reasons I don't like the /dev/std{err,in,out}
> > things.  They are not portable.  They do different things on different
> > systems.  I avoid them.
> 
> I've considered emulating it everywhere, regardless of what the OS
> provides, but I'd get just as many complaints if I did that.

Agreed.  There isn't any way to win.

Tonight I came up with yet another reason I don't like use of the
/dev/stdout and others.  And also the use of /proc too.  That reason
is use of programs in chroots.  I ran into a program installer that
required that both /proc and /dev be mounted in the chroot I was
using.  I can't see any reason those are actually needed.  But it
required them both in order to function.  Things like that get in the
way of using lightweight chroots which would otherwise work fine as a
light weight container.

Bob

Reply via email to