home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22117 < prev    next >
Encoding:
Internet Message Format  |  1992-12-29  |  2.1 KB

  1. Path: sparky!uunet!newsflash.concordia.ca!nstn.ns.ca!psinntp!psinntp!crynwr!nelson
  2. From: nelson@crynwr.com (Russell Nelson)
  3. Newsgroups: comp.os.linux
  4. Subject: A discipline for packages
  5. Distribution: world
  6. Message-ID: <725686556snx@crynwr.com>
  7. Date: Wed, 30 Dec 92 03:35:56 GMT
  8. Organization: Crynwr Software
  9. Lines: 36
  10.  
  11. You know something I've always hated about Unix (and people are
  12. starting to hate about Windows)?
  13.  
  14. When you install a package, it inserts itself inextricably into
  15. various places in your system.
  16.  
  17. What I would rather see is a subdirectory per package.  For example,
  18. /package/sendmail (and the corresponding subdirectories lib, src, cf,
  19. man.1, man.5, man.8, bin, etc).
  20.  
  21. This seems a lot cleaner than every program in the world inserting
  22. itself into /etc, /usr/lib/, /usr/bin, /usr/man,
  23. /usr/local/lib/package, etc.  Of course, you'd still need to have
  24. these things inserted into the standard places, so that it still
  25. looked like a Unix machine.  But this could be done through the use
  26. of symbolic links and a program that automatically created them.  It
  27. would walk through /package/*/bin for things to put into /usr/bin,
  28. /package/*/man* for things to put into /usr/man/man*, /package/*/etc
  29. for things to put into /etc.
  30.  
  31. Then, when you wanted to remove a package, you'd just rm -r
  32. /package/name, then re-run the symlinks builder.
  33.  
  34. Of course, chasing down all these symlinks is going to make your
  35. system less efficient.  But that's solvable by creating cache files,
  36. and gradually improving programs so that they look in the cache files
  37. instead of at the symlinks.  Of course, the cache files get
  38. automatically built also.
  39.  
  40. And, of course, the symlinks builder could also be told to look in
  41. places other than /package.
  42.  
  43. Why don't I just go off and do this myself?  Well, because the chief
  44. benefit comes from easy package installation/removal.  These benefits
  45. don't come unless people *do* it.
  46.  
  47. -russ <nelson@crynwr.com> What canst *thou* say?
  48. Crynwr Software           Crynwr Software sells packet driver support.
  49. 11 Grant St.              315-268-1925 Voice  |  LPF member - ask me about
  50. Potsdam, NY 13676         315-268-9201 FAX    |  the harm software patents do.
  51.