Xref: utzoo comp.unix.wizards:7114 comp.unix.questions:6092 Path: utzoo!mnetor!uunet!husc6!mailrus!ames!oliveb!pyramid!uccba!hal!ncoast!allbery From: allbery@ncoast.UUCP (Brandon Allbery) Newsgroups: comp.unix.wizards,comp.unix.questions Subject: Re: Compressing unix disks Message-ID: <7508@ncoast.UUCP> Date: 15 Mar 88 22:09:20 GMT References: <1071@ndmath.UUCP> <305@marconi.SW.MCC.COM> Reply-To: allbery@ncoast.UUCP (Brandon Allbery) Followup-To: comp.unix.wizards Organization: Cleveland Public Access UN*X, Cleveland, Oh Lines: 15 As quoted from <305@marconi.SW.MCC.COM> by knutson@marconi.SW.MCC.COM (Jim Knutson): +--------------- | Dump and restore always worked well in the past for defragmenting a disk. | The real question is why you would want to do this on a BSD system | (assuming it is 4.2 or greater). For AT&T System X, try your favorite | method of backup and restore (cpio I suppose). +--------------- Under System V, the way to do it is dcopy: it defragments the disk, spreads free blocks evenly over the disk to slow the effect of further fragmentation, sorts directories to place subdirectories first and thereby speed pathname accesses, etc. -- Brandon S. Allbery, moderator of comp.sources.misc {well!hoptoad,uunet!hnsurg3,cbosgd,sun!mandrill}!ncoast!allbery