Re^2: Earthmen are sooo clever

Jay C. Smith jay at ncspm.ncsu.edu
Tue Aug 22 03:28:58 AEST 1989


>From article <5176 at ucdavis.ucdavis.edu>, by cck at deneb.ucdavis.edu (Earl H. Kinmonth):
> On some systems, such as SCO Xenix, an approach such as the following
> has the effect of defragmenting file systems.
> (a)	backup up the file system you want to defragment (or at least
> major directory trees in that system);
> (b) verify the backup;
> (c) remove the backed up files;
> (d) fsck -s
> (e) restore from the back up.

A faster alternative to steps c and d is mkfs.  This will have the effect
of removing all files and rebuilding the free list and it runs a lot
faster than "rm -fr *" fo



More information about the Comp.unix.wizards mailing list