From owner-freebsd-current@FreeBSD.ORG Sun Oct 19 10:10:06 2003 Return-Path: Delivered-To: freebsd-current@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id E5D3416A4B3 for ; Sun, 19 Oct 2003 10:10:06 -0700 (PDT) Received: from rwcrmhc13.comcast.net (rwcrmhc13.comcast.net [204.127.198.39]) by mx1.FreeBSD.org (Postfix) with ESMTP id 29F4943FA3 for ; Sun, 19 Oct 2003 10:10:06 -0700 (PDT) (envelope-from slave-mike@rv1.dynip.com) Received: from cbm (c-66-177-119-177.se.client2.attbi.com[66.177.119.177]) by comcast.net (rwcrmhc13) with SMTP id <2003101917100401500dkoffe>; Sun, 19 Oct 2003 17:10:05 +0000 Message-ID: <000701c39663$e53413f0$0500a8c0@cbm> From: "slave-mike" To: "Q" , "Bjoern A. Zeeb" References: <1066555252.77544.12.camel@boxster.onthenet.com.au> Date: Sun, 19 Oct 2003 13:10:27 -0400 MIME-Version: 1.0 Content-Type: text/plain; charset="iso-8859-1" Content-Transfer-Encoding: 7bit X-Priority: 3 X-MSMail-Priority: Normal X-Mailer: Microsoft Outlook Express 6.00.2800.1158 X-MimeOLE: Produced By Microsoft MimeOLE V6.00.2800.1165 cc: current@freebsd.org Subject: Re: binaries installed mult. times / no symlinks ? X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sun, 19 Oct 2003 17:10:07 -0000 Or try and figure out a way to get UPX to work on *BSD ----- Original Message ----- From: "Q" To: "Bjoern A. Zeeb" Cc: Sent: Sunday, October 19, 2003 5:20 AM Subject: Re: binaries installed mult. times / no symlinks ? > If you had checked the link count you would have seen that the binaries > you mentioned are actually not installed multiple times, but are "hard > linked" under multiple names, and therefore only take up the space of a > single instance of the file. If these binary files are located on the > same filesystem it is preferable to hardlink rather than symlink them. > I'm not sure if you noticed, but deleting a file with a link count > greater than one will not free up any space, so deleting them is > fruitless unless to plan to delete all of the references. > > If you want something really small, check out the picobsd project on the > freebsd website. > > Seeya...Q > > On Sun, 2003-10-19 at 18:52, Bjoern A. Zeeb wrote: > > > Hi, > > > > I had been going through /usr/bin to see what I would need for a very > > small installation and noticed that there are binaries > > installed multiple times with different names of course. > > > > My question now would be if symlinking wouldn't suffice ? From those > > that I had not deleted I remember the following duplicates that most > > likely are not all of those exist... > > > > Mail -> mail > > Mail -> mailx > > less -> more > > awk -> nawk > > nvi -> nview > > cksum -> sum > > reset -> tset > > nvi -> vi > > nvi -> view > _______________________________________________ > freebsd-current@freebsd.org mailing list > http://lists.freebsd.org/mailman/listinfo/freebsd-current > To unsubscribe, send any mail to "freebsd-current-unsubscribe@freebsd.org" >