DOC HOME SITE MAP MAN PAGES GNU INFO SEARCH
 

volcopy(ADM)


volcopy -- make literal copy of UNIX filesystem

Syntax

/etc/volcopy [ options ] fsname srcdevice volname1 destdevice volname2

Description

The volcopy command makes a literal copy of the UNIX filesystem using a blocksize matched to the device. The options are:

-a
invoke a verification sequence requiring a positive operator response instead of the standard 10-second delay before the copy is made.

-s
(default) invoke the ``DEL if wrong'' verification sequence.
The program requests length and density information if it is not given on the command line or is not recorded on an input tape label. If the filesystem is too large to fit on one reel, volcopy will prompt for additional reels. Labels of all reels are checked. Tapes may be mounted alternately on two or more drives. If volcopy is interrupted, it will ask if the user wants to quit or wants a shell. In the latter case, the user can perform other operations (for example, labelit) and return to volcopy by exiting the new shell.

The fsname argument represents the mounted name (for example, root, u1, etc.) of the filesystem being copied.

The srcdevice or destdevice should be the physical disk section or tape (for example: /dev/dsk/0s1 etc.).

The volname is the physical volume name (for example: pk3, t0122, etc.) and should match the external label sticker. Such label names are limited to 6 or fewer characters. volname may be ``-'' (dash) to use the existing volume name.

srcdevice and volname1 are the device and volume from which the copy of the filesystem is being extracted. destdevice and volname2 are the target device and volume.

fsname and volname are recorded in the last 12 characters of the super block (char fsname[6], volname[6];).

Files

/etc/log/filesave.log a record of filesystems/volumes copied

See also

filesystem(FP), labelit(ADM), sh(C)

Standards conformance

volcopy is conformant with AT&T SVID Issue 2.
© 2003 Caldera International, Inc. All rights reserved.
SCO OpenServer Release 5.0.7 -- 11 February 2003