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