Date: Sun, 19 Oct 2003 13:10:27 -0400 From: "slave-mike" <slave-mike@rv1.dynip.com> To: "Q" <q_dolan@yahoo.com.au>, "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: current@freebsd.org Subject: Re: binaries installed mult. times / no symlinks ? Message-ID: <000701c39663$e53413f0$0500a8c0@cbm> References: <Pine.BSF.4.53.0310190842520.19835@e0-0.zab2.int.zabbadoz.net> <1066555252.77544.12.camel@boxster.onthenet.com.au>
next in thread | previous in thread | raw e-mail | index | archive | help
Or try and figure out a way to get UPX to work on *BSD ----- Original Message ----- From: "Q" <q_dolan@yahoo.com.au> To: "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net> Cc: <current@freebsd.org> 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" >
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?000701c39663$e53413f0$0500a8c0>