home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1992 #31 / NN_1992_31.iso / spool / comp / os / linux / 22121 < prev    next >
Encoding:
Text File  |  1992-12-30  |  2.5 KB  |  67 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!usc!zaphod.mps.ohio-state.edu!cs.utexas.edu!torn!newshub.ccs.yorku.ca!yorku.ca!marcf
  3. From: marcf@nexus.yorku.ca (Marc G Fournier)
  4. Subject: Re: A discipline for packages
  5. Message-ID: <marcf.725692346@yorku.ca>
  6. Sender: news@newshub.ccs.yorku.ca (USENET News System)
  7. Organization: York University
  8. References: <725686556snx@crynwr.com>
  9. Date: Wed, 30 Dec 1992 05:12:26 GMT
  10. Lines: 55
  11.  
  12. nelson@crynwr.com (Russell Nelson) writes:
  13.  
  14. >You know something I've always hated about Unix (and people are
  15. >starting to hate about Windows)?
  16.  
  17. >When you install a package, it inserts itself inextricably into
  18. >various places in your system.
  19.  
  20. >What I would rather see is a subdirectory per package.  For example,
  21. >/package/sendmail (and the corresponding subdirectories lib, src, cf,
  22. >man.1, man.5, man.8, bin, etc).
  23.  
  24.     So?  Install DOS
  25.  
  26. >This seems a lot cleaner than every program in the world inserting
  27. >itself into /etc, /usr/lib/, /usr/bin, /usr/man,
  28. >/usr/local/lib/package, etc.  Of course, you'd still need to have
  29. >these things inserted into the standard places, so that it still
  30. >looked like a Unix machine.  But this could be done through the use
  31. >of symbolic links and a program that automatically created them.  It
  32. >would walk through /package/*/bin for things to put into /usr/bin,
  33. >/package/*/man* for things to put into /usr/man/man*, /package/*/etc
  34. >for things to put into /etc.
  35.  
  36.     Geez...that would make one messy file system...everything
  37. symlinked to everything else.
  38.  
  39. >Then, when you wanted to remove a package, you'd just rm -r
  40. >/package/name, then re-run the symlinks builder.
  41.  
  42.     Most Unix Operating Systems I've used have both an install
  43. and an uninstall command that does the same as rm -r would do
  44. to a /package/name directory
  45.  
  46. >Of course, chasing down all these symlinks is going to make your
  47. >system less efficient.  But that's solvable by creating cache files,
  48. >and gradually improving programs so that they look in the cache files
  49. >instead of at the symlinks.  Of course, the cache files get
  50. >automatically built also.
  51.  
  52.     I think this guy is warped by DOS :(  
  53.  
  54. >And, of course, the symlinks builder could also be told to look in
  55. >places other than /package.
  56.  
  57. >Why don't I just go off and do this myself?  Well, because the chief
  58. >benefit comes from easy package installation/removal.  These benefits
  59. >don't come unless people *do* it.
  60.  
  61.     I don't see a benefit to this at all.  On top of the inefficiency
  62. of it all...you would be wasting a hell of a lot of i-nodes doing this
  63. as well (among probably a hundred other things)
  64.  
  65. Marc
  66.  
  67.