Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!watmath!clyde!rutgers!sri-unix!hplabs!tektronix!tekgen!tektools!penguin!richl From: richl@penguin.UUCP Newsgroups: comp.unix.wizards Subject: Re: truncating root directory of a file system Message-ID: <1973@tektools.UUCP> Date: Tue, 9-Dec-86 11:42:12 EST Article-I.D.: tektools.1973 Posted: Tue Dec 9 11:42:12 1986 Date-Received: Sun, 14-Dec-86 10:56:43 EST References: <511@cdx39.UUCP> Sender: uss@tektools.UUCP Reply-To: richl@penguin.uss.tek.com (Rick Lindsley) Organization: Tektronix, Inc., Beaverton, OR. Lines: 15 Keywords: / /usr /usr/lib truncation In article <511@cdx39.UUCP> jc@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