Subject: Re: Defragmenting a NetBSD drive
To: Curt Sampson <cjs@cynic.net>
From: Robert Elz <kre@munnari.OZ.AU>
List: netbsd-ports
Date: 09/17/1999 01:55:46
    Date:        Thu, 16 Sep 1999 11:24:13 -0400 (EDT)
    From:        Curt Sampson <cjs@cynic.net>
    Message-ID:  <Pine.NEB.4.02.9909161120150.8514-100000@epistolic.cynic.net>

  | Well, that doesn't help with `rm "lots of files but not all of
  | them"'.

No.

  | 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
  | cache?

That's what fastrm does.

kre