truncating root directory of a file system
richl at penguin.UUCP
richl at penguin.UUCP
Wed Dec 10 02:42:12 AEST 1986
In article <511 at cdx39.UUCP> jc at cdx39.UUCP (John Chambers) writes:
> Hey, here's a good puzzle for a Unix file-system wizard.
> You know how some directories (like /usr/spool/uucp) can
> get really huge, and then, even if most of the files go
> away, the directory stays large, giving poor performance
> for some applications.
I know this doesn't solve it for many sites, but I should add that
4.3 will truncate directories for you automatically. Each time an
entry is added to a directory, excess space is removed. So if a
directory grows huge, and you then remove everything from it, it
is still huge. But when you next add something, the directory will
shrink.
Rick Lindsley
More information about the Comp.unix.wizards
mailing list