On Tue, 11 Mar 2003, Burke, Thomas G. wrote:

> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Is it just me, or does anyone else find it odd that so many of his
> directories (that should be big, like usr) are listed as 4096
> size?...  Try inserting your install disk & run the ls command from
> there.  If you see a difference, then you've been hacked.
> 
Nope.  The size of the directory file depends on how many entries in it,
and will be some multiple of the block size.  It does not depend on the
size of the files in the directory.  Now, for /usr, only the entries
under /usr count.  Not the ones under /usr/lib, /usr/local, etc...  
This is because /usr/lib is another directory file, so it is only one
entry in /usr, even though it has many entries in it.  Now, if you look
at /etc, it is 2 blocks in size (4096 blocks) because it has so many
entries in it.  (2006 on my system, compaired to 513 for /bin.)

Mikkel
-- 

    Do not meddle in the affairs of dragons,
 for you are crunchy and taste good with ketchup.




-- 
redhat-list mailing list
unsubscribe mailto:[EMAIL PROTECTED]
https://listman.redhat.com/mailman/listinfo/redhat-list

Reply via email to