[Top][All Lists]

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Not so useless use of cat

From: Bob Proulx
Subject: Re: Not so useless use of cat
Date: Tue, 16 Sep 2014 23:54:06 -0600
User-agent: Mutt/1.5.23 (2014-03-12)

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.


reply via email to

[Prev in Thread] Current Thread [Next in Thread]