Steve Gonczi wrote:
> Here is another, interesting wrinkle:
> 
> Looking at /usr/bin and /usr/sbin,  I notice that a whole bunch of seemingly 
> unrelated
> utilities appear to be just hard links to a shared file.  ( ls -il reveals a 
> shared
> inode number, same size, and the same link count to groups of them).

Lots are hardlinks to /usr/lib/isaexec

For why see the isaexec man page.

> I am guessing that some groups of these utilities go through common front end 
> code, 
> that then dispatches to the correct bits based on argv0.  Could someone 
> confirm this?

Some do that but most of them will be the correct "bitness" versions ie 
32 vs 64 bit.

> This would explain why recompiling ztest and zdb and copying the new bits 
> into /usr/bin 
> and /usr/sbin respectively resulted in a whole bunch of my utilities 
> "becoming zdb".

zdb is in fact an isaexec link.

-- 
Darren J Moffat

Reply via email to