Re: why is the size of a directory always 1024b ?

Janos Farkas (chexum@shadow.banki.hu)
Fri, 25 Jun 1999 11:14:11 +0200


On 1999-06-25 at 12:12:40, MURALI N wrote:
> Okay, leave things be. What i suggest is that during fsck runs,
> holes in the directory entries can be processed.

That's a fine idea; but *why* would you want to show a *different* value
than the allocated blocks to a directory? What would you get if it
would show (for example) how many entries are in there? You can tell
that pretty easily with ls itself..

Think about it, now at least you *know* how much space a directory takes,
and at least *know* what takes up enormous space, and why access in that
directory is slow, so you can fix it.

Janos

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/