home *** CD-ROM | disk | FTP | other *** search
/ NetNews Usenet Archive 1993 #1 / NN_1993_1.iso / spool / comp / os / linux / 22645 < prev    next >
Encoding:
Text File  |  1993-01-04  |  1.6 KB  |  35 lines

  1. Newsgroups: comp.os.linux
  2. Path: sparky!uunet!wupost!micro-heart-of-gold.mit.edu!uw-beaver!news.tek.com!psgrain!hippo!shannon!news
  3. From: Philip Machanick <philip@concave.cs.wits.ac.za>
  4. Subject: Re: A discipline for packages
  5. Message-ID: <1993Jan4.131232.8671@shannon.ee.wits.ac.za>
  6. X-Xxdate: Mon, 4 Jan 93 15:00:27 GMT
  7. Sender: news@shannon.ee.wits.ac.za
  8. Organization: Computer Science Dept, Wits University
  9. X-Useragent: Nuntius v1.1.1d16
  10. References: <FOX.93Jan2225646@graphics.nyu.edu>
  11. Date: Mon, 4 Jan 1993 13:12:32 GMT
  12. Lines: 21
  13.  
  14. In article <FOX.93Jan2225646@graphics.nyu.edu> David Fox, fox@cs.nyu.edu
  15. writes:
  16. >system.  The nice thing about symbolic links is that they
  17. >can tell you where they are pointing, whereas all you know about
  18. >a hard link is how many other names it has.  To de-install the
  19. >foo package you just remove every symbolic link anywhere that
  20. >points to /packages/foo/* and then rm -rf /packages/foo/*.  If
  21. >you have a dangling link into /packages/foo/* you just get the
  22. >foo distribution and extract the missing file.  If it is not there,
  23.  
  24. How about the opposite: install the file in the target directory,
  25. and keep a sym link to it in /packages/xxx ? That way, if you
  26. de-install, you can remove the file from the place where it would
  27. usually be found, and keep the sym link as documentation of what to
  28. get back if you need to reinstall it. De-installing then involves
  29. following all sym links to rm the actual files.
  30. --
  31. Philip Machanick                   philip@concave.cs.wits.ac.za
  32. Department of Computer Science, University of the Witwatersrand
  33. 2050 Wits, South Africa
  34. phone 27(11)716-3759 fax 27(11)339-7965
  35.