From owner-freebsd-stable Sun Jul 7 6:44:22 2002 Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.FreeBSD.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 98FA137B400 for ; Sun, 7 Jul 2002 06:44:19 -0700 (PDT) Received: from cymru.serf.org (pc1-card4-0-cust15.cdf.cable.ntl.com [62.252.49.15]) by mx1.FreeBSD.org (Postfix) with ESMTP id 029CE43E3B for ; Sun, 7 Jul 2002 06:44:19 -0700 (PDT) (envelope-from gedge@cymru.serf.org) Received: from gedge by cymru.serf.org with local (Exim 4.04) id 17RCKn-000CQ7-00 for stable@freebsd.org; Sun, 07 Jul 2002 14:44:17 +0100 Date: Sun, 7 Jul 2002 14:44:17 +0100 From: Geraint A Edwards To: stable@freebsd.org Subject: sysinstall hard links Message-ID: <20020707134417.GA18082@cymru.serf.org> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.3.25i Organisation: Caerdydd, Cymru / Cardiff, Wales X-MotD: "de-moc-ra-cy (di mok' ra see) n. Three wolves and a sheep voting on what's for dinner." Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG Hi, I'm fairly new to the world of upgrading, but (I think) I have noticed something odd (though, I'm not sure if it's significant). On a handful of occasions, I've followed the handbook to upgrade to STABLE, even to the later point (after 'make installworld' and 'mergemaster') of cd /usr/src/release/sysinstall make all install but have noticed that the contents of /stand is not what I expected: all files hard linked to the same binary: # cd /stand/ # ls -laF total 61346 -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 -sh* drwxr-xr-x 5 root wheel 1024 Jul 7 13:40 ./ drwxr-xr-x 20 root wheel 512 Jul 7 13:20 ../ -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 [* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 arp* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 boot_crunch* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 camcontrol* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 cpio* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 dhclient* -r-xr-xr-x 1 root wheel 6690 Jan 29 22:43 dhclient-script* drwx------ 3 root wheel 512 Jun 23 15:39 etc/ -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 find* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 fsck* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 gunzip* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 gzip* drwxr-xr-x 2 root wheel 1024 Jun 23 15:39 help/ -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 hostname* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 ifconfig* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 minigzip* drwxr-xr-x 2 root wheel 512 Jun 23 15:39 modules/ -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 mount_mfs* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 mount_nfs* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 newfs* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 pccardc* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 pccardd* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 ppp* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 pwd* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 rm* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 route* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 rtsol* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 sed* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 sh* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 slattach* -r-xr-xr-x 1 root wheel 917392 Jul 7 13:40 sysinstall* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 test* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 tunefs* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 usbd* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 usbdevs* -r-xr-xr-x 32 root wheel 1913600 Jan 29 22:42 zcat* # uname -a FreeBSD foo 4.6-STABLE FreeBSD 4.6-STABLE #0: Sun Jul 7 13:11:21 BST 2002 root@foo:/usr/obj/usr/src/sys/GENERIC i386 So, which is wrong: - the handbook instructions - sysinstall's Makefile(?): the way it installs the target - my expectation that all files are hard-linked - something else :-) ? This may be something to do with my /etc/make.conf having had INSTALL=install -C previously, or (for this build) COPY=-C in it. -- Geraint A. Edwards "Gedge" Caerdydd(Cardiff), Cymru(Wales) gedge@serf.org IRCNet:Gedge http://serf.org/gedge/ To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message