On 2007-02-15, William Hunt <wjh@prv8.net> wrote:
> On Thu, 15 Feb 2007, Handover Phist wrote:
>>
>> drwxr-xr-x 10 user users 20480 2007-02-15 12:13 filename
>>
>> I know what every one of these is except the second field. This is the
>> output of a directory name using ls -ld, and I want to know why it's
>> using 20k when every other dir uses 4k.
>
> 2nd field is the hard link count. with, directory this is,
> basically, the number of sub-directories within that directory,
> plus one for '.' and one for '..'
>
> the size of the directory file grows, as filenames are added, from
> an initial 4k, to whatever size is needed to hold all those filenames.
>
> the details are fstype dependent.
> i'll bet your using ext2.
> if i'm wrong i'm sure someone will correct me :*)
ext3, which basically makes you correct. Thanks!
>> I stumbled upon this as a possible problem producing a virtual host in
>> apache, although I don't think it's really relevant to you fine folks.
>
> it's a feature, not a problem :*)
>
> HTH
It certainly is now that I know what that is.
--
"Take that, you hostile sons-of-bitches!"
-- James Coburn, in the finale of _The_President's_Analyst_
http://www.websterscafe.com