Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!cbatt!ihnp4!inuxc!pur-ee!uiucdcs!uiucuxc!ccvaxa!wombat From: wombat@ccvaxa.UUCP Newsgroups: net.unix Subject: Re: Are links as useful as they could b Message-ID: <1900034@ccvaxa> Date: Sun, 28-Sep-86 21:14:00 EDT Article-I.D.: ccvaxa.1900034 Posted: Sun Sep 28 21:14:00 1986 Date-Received: Tue, 30-Sep-86 20:38:29 EDT References: <21127@rochester.ARPA> Lines: 40 Nf-ID: #R:rochester.ARPA:21127:ccvaxa:1900034:000:2165 Nf-From: ccvaxa.UUCP!wombat Sep 28 20:14:00 1986 My pet peeve with links: We do some of our development here within "boxes", which are miniature unix filesystems reached via dressed-up chroot calls. The nice thing about them is that you can have complete control over your development environment. The problem is that for each box you set up on a different partition (and almost all of them are on different partitions), you must also install copies of stardard utilities, including most of /bin and /lib plus some of /usr/lib, /usr/bin, and /usr/ucb plus emacs. These have to be real copies, because we don't have nearly enough room on our root disks to put development projects thus making hard links useless, and because symbolic links can't be followed to a target outside of a box. And there goes half the disk space from your box. (Idle speculation says it would be nice if symlinks could reach through a chroot call, but since we also use boxes for security I don't think I could convince other people we should do it.) I disagree that "most uses of links are to connect things in the same directory": We have a project here that uses a stable, common source tree. The developers working on it usually need to change only a few files, but we want them to do it in their own copy of the tree so that they can test it before checking it into the official tree. So they make a copy of the official tree which starts off consisting entirely of directories and hard links to (non-RCS *,v) files in the official tree. When a developer wants to change a file, they first remove the linked version, then get a true copy and edit away. Since the source directory is over 10,000 blocks this saves a lot of disk space. (However, if you ever have to restore the partition from full+incremental dumps you have a really nasty problem on your hands, as we have already discovered.) (You may have guessed from this that our greatest shortage around here is disk space. B-) "Our first order of business will be to find a deranged alchemist, which should not be very difficult. China," said Master Li, "is overstocked with deranged alchemists." Barry Hughart, *Bridge of Birds* Wombat ihnp4!uiucdcs!ccvaxa!wombat