Copyright 1989 AT&T, Copyright (c) 2003, Sun Microsystems, Inc. All Rights Reserved
The contents of this file are subject to the terms of the Common Development and Distribution License (the "License"). You may not use this file except in compliance with the License.
You can obtain a copy of the license at usr/src/OPENSOLARIS.LICENSE or http://www.opensolaris.org/os/licensing. See the License for the specific language governing permissions and limitations under the License.
When distributing Covered Code, include this CDDL HEADER in each file and include the License file at usr/src/OPENSOLARIS.LICENSE. If applicable, add the following below this CDDL HEADER, with the fields enclosed by brackets "[]" replaced with your own identifying information: Portions Copyright [yyyy] [name of copyright owner]
volcopy [-F ufs] [generic_options] fsname srcdevice volname1 destdevice volname2
volcopy makes a literal copy of the ufs file system using a blocksize matched to the device.
The following option is supported:
generic_options
options supported by the generic volcopy command. See volcopy(1M).
The following operands are supported:
fsname
represents the mount point (for example, root, u1, etc.) of the file system being copied.
srcdevice or destdevice
the disk partition specified using the raw device (for example, /dev/rdsk/cld0s8, /dev/rdsk/cld1s8, etc.).
srcdevice and volname1
the device and physical volume from which the copy of the file system is being extracted.
destdevice and volname2
the target device and physical volume.
fsname and volname are limited to six or fewer characters and recorded in the superblock. volname may be `-' to use the existing volume name.
The following exit values are returned:
0
Successful file system copy.
non-zero
An error has occurred.
cpio(1), dd(1M), labelit(1M), volcopy(1M), attributes(5), ufs(7FS)
volcopy does not support copying to tape devices. Use dd(1M) for copying to and from tape devices.