Mailing Lists: Apple Mailing Lists
Image of Mac OS face in stamp
Re: about detecting hard drives with problems
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: about detecting hard drives with problems



At 03:10 PM 11/21/2006, Josh Wisenbaker |remote.desktop| wrote:

Heh. While they are separate binaries they are the same thing.
[snip]

dhcp172-21s10n84:~ jwisenba$ crc32 /usr/bin/zcat
21b9c4c7
dhcp172-21s10n84:~ jwisenba$ crc32 /usr/bin/gzip
21b9c4c7
dhcp172-21s10n84:~ jwisenba$ crc32 /usr/bin/gunzip
21b9c4c7

Actually, they are hard links; you can tell from looking at the inode number:

09:46 AM  teridon@gse-g4 ~ # ls -i /usr/bin/zcat
4997789 /usr/bin/zcat*
09:46 AM  teridon@gse-g4 ~ # ls -i /usr/bin/gzip
4997789 /usr/bin/gzip*

To find all the hard links, use find -inum

09:49 AM  teridon@gse-g4 ~ # find /usr/bin -inum 4997789
/usr/bin/gunzip
/usr/bin/gzcat
/usr/bin/gzip
/usr/bin/zcat


_______________________________________________ Do not post admin requests to the list. They will be ignored. Remote-desktop mailing list (email@hidden) Help/Unsubscribe/Update your Subscription: This email sent to email@hidden
References: 
 >Re: about detecting hard drives with problems (From: Peter Bukowinski <email@hidden>)
 >Re: about detecting hard drives with problems (From: Shawn Welter <email@hidden>)
 >Re: about detecting hard drives with problems (From: "Josh Wisenbaker" <email@hidden>)



Visit the Apple Store online or at retail locations.
1-800-MY-APPLE

Contact Apple | Terms of Use | Privacy Policy

Copyright © 2011 Apple Inc. All rights reserved.