[lsb-discuss] lsb-discuss Digest, Vol 120, Issue 1

Alan Cox alan at lxorguk.ukuu.org.uk
Tue Nov 1 16:35:16 UTC 2016


On Tue, 01 Nov 2016 13:23:21 -0200
Brian Mayer <blmayer at icloud.com> wrote:

> I'm proposing a standard way to define important directories by means of variables, so, instead of having
> echo > /dev/null 2>&1 ;
> we would have 
> echo > $DEVDIR/null 2>&1 ;
> This way we don't get errors of file not found. And it will work in any machine, I mean, machines with non standard file hierarchy. 

The /dev directory is laid down by the FSSTND, by Unix tradition and is
also part of earlier standards too - so if you don't have /dev in the
right place you aren't LSB compliant.

Alan


More information about the lsb-discuss mailing list