binaries installed mult. times / no symlinks ?
Bjoern A. Zeeb
bzeeb-lists at lists.zabbadoz.net
Sun Oct 19 05:30:10 PDT 2003
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
More information about the freebsd-current
mailing list