Relay-Version: version B 2.10 5/3/83; site utzoo.UUCP Path: utzoo!mnetor!uunet!seismo!rochester!ur-tut!ur-valhalla!micropen!dave From: dave@micropen (David F. Carlson) Newsgroups: comp.unix.wizards Subject: Re: Disk Fragmentation Message-ID: <366@micropen> Date: Mon, 27-Jul-87 16:51:12 EDT Article-I.D.: micropen.366 Posted: Mon Jul 27 16:51:12 1987 Date-Received: Tue, 28-Jul-87 07:15:57 EDT References: <8441@brl-adm.ARPA> <7674@mimsy.UUCP> Organization: Micropen Direct Writing Systems, Pittsford, NY Lines: 28 Summary: System V has just such a utility In article <7674@mimsy.UUCP>, chris@mimsy.UUCP (Chris Torek) writes: > 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'. > In-Real-Life: Chris Torek, Univ of MD Comp Sci Dept (+1 301 454 7690) > Domain: chris@mimsy.umd.edu Path: seismo!mimsy!chris Although its clear the original question is about BSD, it should be noted that SystemV has just such a utility: dcopy(1M). It's man page claims it will deflate large empty directories and place file blocks with optimal rotational gap. Also subdirectories are placed at the beginning of a directory in hopes of speeding depth first directory searches. Given that AT&T went to the trouble to do this, cp(1) sounds too easy (and no directory re-organization is done to the best of my knowledge.) David F. Carlson, Micropen, Inc. ...!{seismo}!rochester!ur-valhalla!micropen!dave "The faster I go, the behinder I get." --Lewis Carroll -- David F. Carlson, Micropen, Inc. ...!{seismo}!rochester!ur-valhalla!micropen!dave "The faster I go, the behinder I get." --Lewis Carroll