Milan Jurik <Milan.Jurik at Sun.COM> wrote:

> In case that /usr/gnu would not hide Solaris specific features like it
> is doing today, it is good solution probably. The problem is
> that /usr/gnu is doing that (e.g. ACLs or linker). It is broken
> architecture to hide significant features. Additionally it is big pain
> for sustaining to maintain many different toolsets, with additional
> costs.

There is a way to achive this:

1)      create a directory /usr/xxx/bin/ that is allowed to include ambiguous
        names for "xxx"-tools. GNU tar could be called "tar" in this dir.

2)      create a directory /usr/xxx/ubin/ that is only allowed to include 
        unique named for utilities. Make sure that all commands either from
        /usr/xxx/bin/ or from /usr/xxx/ubin/ only call tools from /usr/xxx/ubin/
        in order to avopid name clashes (see point #3 below).
        GNU tar needs to be called "gtar" in this dir.

3)      make sure that /usr/bin/ does not contain ambiguous names such as 
        "compare" with is a name clash recently introduced by ImageMagick
        and that is in conflict with a utility of the same name that I
        publish 15 years longer than ImageMagick exists.

4)      Utilities that are from a smaller consolidation or do not get an own
        "xxx" _need_ to be forced to convert to use unique names. This seems
        affect the name clash introduced by ImageMagick.

This allows people to do anything they may like using the folloing method:

People unter these rules could have any /usr/xxx/ubin/ type directory in their 
PATH.

People could have a set of /usr/xxx/bin/ directories in their PATH in an order 
that is related to their favors. 

Only if someone likes to by default use e.g. "GNU cut" as his default "cut" and
"Schily paste" as his defaule "paste", he would need to create a directory:

$HOME/bin with symlinks 

cut -> /usr/gnu/cut
paste -> /usr/schily/bin/paste

J?rg

-- 
 EMail:joerg at schily.isdn.cs.tu-berlin.de (home) J?rg Schilling D-13353 Berlin
       js at cs.tu-berlin.de                (uni)  
       joerg.schilling at fokus.fraunhofer.de (work) Blog: 
http://schily.blogspot.com/
 URL:  http://cdrecord.berlios.de/private/ ftp://ftp.berlios.de/pub/schily

Reply via email to