Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP
Path: utzoo!mnetor!uunet!seismo!gatech!bloom-beacon!husc6!cmcl2!brl-adm!umd5!cvl!mimsy!chris
From: chris@mimsy.UUCP (Chris Torek)
Newsgroups: comp.unix.wizards
Subject: Re: Disk Fragmentation
Message-ID: <7674@mimsy.UUCP>
Date: Fri, 24-Jul-87 09:47:52 EDT
Article-I.D.: mimsy.7674
Posted: Fri Jul 24 09:47:52 1987
Date-Received: Sat, 25-Jul-87 15:04:08 EDT
References: <8441@brl-adm.ARPA>
Organization: U of Maryland, Dept. of Computer Science, Coll. Pk., MD 20742
Lines: 20

In article <8441@brl-adm.ARPA> eichelbe@nadc.arpa (J. Eichelberger) writes:
>Is there a disk defragmenter utility for 4.3 BSD UNIX on VAXes?
>That is, a utility to move files around on the disk so that they are
>less fragmented (more contiguous) and larger free space areas exist on
>the disk.

Yes.  It is called `cp'.

(!)

All you need is enough empty space; blocks are allocated `optimally'
as long as there is an optimally placed block.  The block allocation
routines seem to work off state encoded in the in-core superblock
and cylinder group summaries, so I think this works best if you
are the only one doing file activity.  A dump-and-restore would
work, but you could also just use tar to copy a directory tree
while the machine is otherwise idle.
-- 
In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690)
Domain:	chris@mimsy.umd.edu	Path:	seismo!mimsy!chris