Subject: Re: Defragmenting a NetBSD drive
To: None <>
From: Christos Zoulas <>
List: netbsd-ports
Date: 09/16/1999 16:27:39
In article <>,
Curt Sampson <> wrote:
>Well, that doesn't help with `rm "lots of files but not all of
>them"'. Would it in fact be unreasonable to modify rm--if given
>more than a couple of files in a directory--to scan through the
>directory once, and then sort its list of files to be removed in
>directory order in order to take advantage of the per-process namei

That is a cool idea, but I don't think that smarts about specific
filesystem layout belong in user programs :-)

And rm 'lots of files', is not necessarily ran on ffs, or you are
suggesting that rm does an fstatfs() first.