Subject: Re: Defragmenting a NetBSD drive
To: None <hubert.feyrer@rz.uni-regensburg.de>
From: Simon Burge <simonb@netbsd.org>
List: netbsd-ports
Date: 09/15/1999 11:22:05
Hubert Feyrer wrote:

> In article <199909022338.TAA00666@pzero.sandelman.ottawa.on.ca> you wrote:
> >   The file system doesn't need it. It was designed to work for long periods.
> >   About the only thing that may be needed is that directories that get used
> > a lot, e.g. /var/spool/mqueue, etc. may need to be deleted and rebuilt to
> > make them smaller, but that can be done with a shell script.
> 
> Wasn't this problem solved with the truncate(2) system call?

Not according the the man-page:

	[EISDIR]      The named file is a directory.

If indeed it has been fixed, the doco needs updating :)

Simon.