home *** CD-ROM | disk | FTP | other *** search
- Submitted-by: brnstnd@KRAMDEN.ACF.NYU.EDU (Dan Bernstein)
-
- Under BSD, you can easily set up a /inst/bin directory with symlinks to
- every officially ``installed'' executable. Users can then have /inst/bin
- in their paths instead of all the physical directories like /bin, /etc,
- /usr/bin, /usr/ucb, etc. Although the directory is large, the time for
- several failing execve()s is much larger than the time for searching one
- directory (especially with path caching as in BSD 4.3).
-
- Even on System V, you can put hard links in /inst/bin, and when an
- executable is on a different device you can set up a shell script which
- execs the real executable. It's *still* more efficient, on the average,
- than all the failing execve()s. Try it if you don't believe me.
-
- Yes, this requires all executables to be given unique names. Any concept
- of a standard path, including the POSIX.2 proposal, forces this. It's
- simply not a disadvantage.
-
- Anyway, as vendors haven't come to any agreement on this facility---the
- current ``standard'' is to install most programs somewhere under
- /usr/local, with new subdirectories for big programs like ingres---I
- despise POSIX's attempts to name any particular solution a ``standard.''
- In the interests of security, efficiency, and backwards compatibility, I
- propose /inst/bin as a viable alternative to getconf. I suggest that
- POSIX look---and take its time looking---before it leaps.
-
- ---Dan
-
-
- Volume-Number: Volume 24, Number 49
-
-