Skip site navigation (1)Skip section navigation (2)
Date:      Sun, 19 Oct 2003 12:20:52 +0000 (UTC)
From:      "Bjoern A. Zeeb" <bzeeb-lists@lists.zabbadoz.net>
To:        David Malone <dwmalone@maths.tcd.ie>
Cc:        current@freebsd.org
Subject:   Re: binaries installed mult. times / no symlinks ?
Message-ID:  <Pine.BSF.4.53.0310191150250.19835@e0-0.zab2.int.zabbadoz.net>
In-Reply-To: <20031019092538.GA95269@walton.maths.tcd.ie>
References:  <Pine.BSF.4.53.0310190842520.19835@e0-0.zab2.int.zabbadoz.net> <20031019092538.GA95269@walton.maths.tcd.ie>

next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, 19 Oct 2003, David Malone wrote:

> On Sun, Oct 19, 2003 at 08:52:59AM +0000, Bjoern A. Zeeb wrote:
> > My question now would be if symlinking wouldn't suffice ?
>
> All of the programs you list are actually hardlinks to one another.

*aarrrggg* should have had another look at it this morning after some
minutes of sleep.

> If you run "ls -li" on them, you will see that they have the same
> inode number, and are consequently the same file.

yes. of course.

I should recheck the way I had copied them into my image.
Must have used cp -p this night instead of tar -cpf - | tar -xpf - -C ...
or s.th. like this.
That's most likely the problem I hadn't seen a link count > 1
because I didn't look at the original installation:

noc:~/install-20031018/usr/bin# ls -i  ex nex nvi nview vi view
47625 ex 47625 nex   47625 nvi   47625 nview   47625 vi   47625 view

but

noc:/mnt/usr/bin# ls -i  ex nex nvi nview vi view
  346 ex   246 nex     240 nvi     239 nview     114 vi     113 view


many thanks for all the answers.

-- 
Bjoern A. Zeeb				bzeeb at Zabbadoz dot NeT
56 69 73 69 74				http://www.zabbadoz.net/

tech support excuse #226: Fatal error right in front of screen



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSF.4.53.0310191150250.19835>