Subject: Re: gcc 3.4.4
To: None <port-mac68k@netbsd.org>
From: Tim & Alethea Larson <thelarsons3@cox.net>
List: port-mac68k
Date: 01/20/2006 21:20:29
Dave Huang wrote:
> You'll probably find that they're hard links to each other. Check the
> link count column of an "ls -l", or better, "ls -li":
> 
> 2384 -r-xr-xr-x  2 root  wheel  120779 Oct 29 03:28 /usr/bin/cc
> 2384 -r-xr-xr-x  2 root  wheel  120779 Oct 29 03:28 /usr/bin/gcc
> 
> The "2" in the 3rd column means that the file has two names (in this
> example, /usr/bin/cc, and /usr/bin/gcc), and the "2384" in the first
> column is the inode number--since the inode numbers are the same,
> /usr/bin/cc and /usr/bin/gcc are linked.

You're absolutely correct: they are hard links.  I so seldom see that 
done that I didn't think of it.  What's the rationale for this?  Just 
curious.

Tim
-- 
Tim & Alethea
christtrek.org