directory byte sizes

From: Ken Brown <kbrown_at_ebony.trentu.ca>
Date: Fri, 01 May 1998 09:10:59 -0400 (EDT)

Hello,

I'm wondering about directory byte size. Typically a new directory is
8192 bytes;

drwxr-xr-x 2 kbrown users 8192 Jul 2 1997 C/

At some point, it seems, if a certain number of files (or files of a
certain size) are placed in a directory the byte count increases. It
stays at this new level regardless of the removal of all directory
contents.

Besides being curious about this, it has given us a bit of a problem
when comparing an original file system to a copy of same - because the
directories created in the copy area will be 8192 bytes, not the
inflated number of bytes. Thus, a compare of a du listing shows
differences (which may be irrelevant).

Any comments or pointers to details about directory bytes sizes would be
most welcome.

Thanks.
----------------------------------------------------------------------
Ken Brown / kbrown_at_trentu.ca / tel: (705)748-1540 / fax: (705)748-1635
----------------------------------------------------------------------
Received on Fri May 01 1998 - 15:12:03 NZST

This archive was generated by hypermail 2.4.0 : Wed Nov 08 2023 - 11:53:37 NZDT