dcopy(1M) dcopy(1M)
NAME
dcopy - copy file systems for optimal access time
SYNOPSIS
/etc/dcopy [-sX] [-an] [-d] [-v] [-ffsize [:isize]] inputfs
outputfs
DESCRIPTION
dcopy copies file system inputfs to outputfs. inputfs is
the existing file system; outputfs is an appropriately sized
file system, to hold the reorganized result. For best
results inputfs should be the raw device and outputfs should
be the block device. dcopy should be run on unmounted file
systems (in the case of the root file system, copy to a new
pack). With no arguments, dcopy copies files from inputfs
compressing directories by removing vacant entries, and
spacing consecutive blocks in a file by the optimal
rotational gap. The possible options are:
-sX supply device information for creating an optimal
organization of blocks in a file. The forms of X are
the same as the -s option of fsck(1M).
-an place the files not accessed in n days after the free
blocks of the destination file system (default for n
is 7). If no n is specified then no movement occurs.
-d leave order of directory entries as is (default is to
move sub-directories to the beginning of directories).
-v currently reports how many files were processed, and
how big the source and destination freelists are.
-ffsize[:isize]
specify the outputfs file system and inode list sizes
(in blocks). If the option (or :isize) is not given,
the values from the inputfs are used.
dcopy catches interrupts and quits and reports on its
progress. To terminate dcopy, send a quit signal and dcopy
will no longer catch interrupts or quits.
FILES
/etc/dcopy
SEE ALSO
fsck(1M), mkfs(1M), ps(1).
Page 1 (last mod. 1/15/87)