Jeremy Portzer said the following on 5/14/04 10:49 AM:
Actually, now would be a good time to remember what we talked about last
night about hard links.  Note that there is a "3" next to "root" in the
the long listing.  This means that there are three (hard) links to the
file.  I would guess that these files really are the same (hard
linked).  The way to determine this for sure is to run "ls -li".

Interesting. On the system I initially checked, all the links were one and the inodes were different. This was on a whitebox system. I just now checked on my Mandrake 10.0 system and they are hardlinked. Weird.

Whitebox:

% ls -li /sbin/mkfs.ext* /sbin/mke2fs
 325884 -rwxr-xr-x    1 root     root        32056 Dec 12 01:12 /sbin/mke2fs*
 325887 -rwxr-xr-x    1 root     root        32056 Dec 12 01:12 /sbin/mkfs.ext2*
 325888 -rwxr-xr-x    1 root     root        32056 Dec 12 01:12 /sbin/mkfs.ext3*

Mandrake 10.0:

% ls -li /sbin/mkfs.ext* /sbin/mke2fs
58720523 -rwxr-xr-x  3 root root 30668 Feb 26 03:54 /sbin/mke2fs*
58720523 -rwxr-xr-x  3 root root 30668 Feb 26 03:54 /sbin/mkfs.ext2*
58720523 -rwxr-xr-x  3 root root 30668 Feb 26 03:54 /sbin/mkfs.ext3*

So, there you go...

Cheers,
Tanner
--
Tanner Lovelace       | Don't move! Or I'll fill ya full of... little
[EMAIL PROTECTED] | yellow bolts of light! - Commander John Crichton
--
TriLUG mailing list        : http://www.trilug.org/mailman/listinfo/trilug
TriLUG Organizational FAQ  : http://trilug.org/faq/
TriLUG Member Services FAQ : http://members.trilug.org/services_faq/
TriLUG PGP Keyring         : http://trilug.org/~chrish/trilug.asc

Reply via email to