ls directories 5th column

From: Hobbs, Richard (hobbs@mongeese.co.uk)
Date: Thu Jul 10 2003 - 13:12:10 EDT


Hello,

In UNIX, directories are actually held on the filesystem as files. Those
files contain a list of files within it, so when you view a directory, it
just points at loads of other files.

Therefore, you never see the directory as a file, but it is actually
stored as one.

The 6444 means the number of bytes that directory file is, so the more
files you have in that directory, the bigger the number becomes, because
it's an index of the files "within" it. It's not the size of the files
within it, just the number of them, that increases the directory size.

Make sense??

Hope so :-)

-- 
Richard Hobbs <hobbs@mongeese.co.uk>
http://mongeese.co.uk | http://unixforum.co.uk
"There's only one way of life, and that's your own" - The Levellers
Registered Linux User: 313906
_____________________________________________________
Send all your jokes to jokes@fishsponge.co.uk !!
To subscribe, email: jokes-subscribe@fishsponge.co.uk
> -----Original Message-----
> From: sunmanagers-bounces@sunmanagers.org 
> [mailto:sunmanagers-bounces@sunmanagers.org] On Behalf Of 
> egold@fsa.com
> Sent: 10 July 2003 17:54
> To: sunmanagers@sunmanagers.org
> Subject: ls directories 5th column
> 
> 
> when you do an ls -al and see directories what does the 
> number in the 5th column mean?
> 
> for example in the following what does "6144" mean?
> 
> regards!
> 
> drwxrwxr-x   6 root     bin         6144 Jun 27 15:20 sbin/
> _______________________________________________
> sunmanagers mailing list
> sunmanagers@sunmanagers.org 
> http://www.sunmanagers.org/mailman/listinfo/su> nmanagers
[demime 1.01b removed an attachment of type application/x-pkcs7-signature which had a name of smime.p7s]
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers


This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:26:44 EDT