On Mon, Sep 28, 2020 at 10:10:28PM -0400, Josef 'Jeff' Sipek wrote: > On Mon, Sep 28, 2020 at 18:55:51 -0500, Derek Martin wrote: > ... > > On Unix systems, at least > > for most file systems, the size of a directory is the space occupied > > by the blocks needed to hold the internal representation of the > > listing of the directory... > > Yes, the size on directories is essentially meaningless on POSIX systems (to > the user anyway).
It's not *completely* useless... it does have one very useful function--the one it was intended for: It tells you exactly how much of your disk space was consumed by that directory's metadata. That might be useful to the user if, for example, they have a disk quota. Such things are rare these days but probably still exist in places like universities, or other such places where computing resources are shared amongst a community of users who don't necessarily have a vested interest in conserving the limited resources... -- Derek D. Martin http://www.pizzashack.org/ GPG Key ID: 0xDFBEAD02 -=-=-=-=- This message is posted from an invalid address. Replying to it will result in undeliverable mail due to spam prevention. Sorry for the inconvenience.
signature.asc
Description: PGP signature