Jump to content United States-English
HP.com Home Products and Services Support and Drivers Solutions How to Buy
» Contact HP
More options
HP.com home
HP-UX Reference > V

volcopy_hfs(1M)

HP-UX 11i Version 3: February 2007
» 

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index

NAME

volcopy_hfs: volcopy, labelit — copy an HFS file system with label checking

SYNOPSIS

/usr/sbin/volcopy [options] fsname special1 volname1 special2 volname2

/usr/sbin/labelit [options] special [fsname volume [-n]]

DESCRIPTION

The volcopy command makes a literal copy of an HFS file system using a block size matched to the device.

Options

volcopy recognizes the following options:

-F hfs

Specifies the HFS file system type.

-a

Invoke a verification sequence requiring a positive operator response instead of the standard delay before the copy is made.

-s

(default) Invoke the DEL-if-wrong verification sequence.

-y

Assume a yes response to all questions

-V

Echo the completed command line, but perform no other actions. The command line is generated by incorporating the user-specified options and arguments with other information derived from /etc/fstab. This option allows the user to verify the command line.

Other options are used with 9-track magnetic tapes:

-bpi density

Bits per inch.

-feet size

Size of reel in feet.

-reel num

Beginning reel number for a restarted copy.

-buf

Use double buffered I/O.

The volcopy command requests length and density information if they are not given on the command line and they are not recorded on an input tape label. If the file system is too large to fit on one reel, the volcopy command prompts for additional reels. Labels of all reels are checked. Tapes can be mounted alternately on two or more drives. If the volcopy command is interrupted, it asks if the user wants to quit or wants to escape to the command interpreter. In the latter case, other operations (such as executing the labelit command) can be performed before returning to the volcopy command by exiting the command interpreter.

fsname

The file system name on the device (e.g., root) being copied.

special

The physical disk section or tape (e.g., /dev/rdisk/disk1 or /dev/rtape/tape4QIC150).

volname

The physical volume name; it should match the external sticker. Such label names are limited to six or fewer characters. The argument volname can be - to use the existing volume name.

special1

The device from which the copy of the file system is being extracted.

volname1

The volume from which the copy of the file system is being extracted.

special2

The target device.

volname2

The target volume.

The labelit command can be used to provide initial labels for unmounted disk or tape file systems. With the optional arguments omitted, the labelit command prints current label values. The -n option provides for initial labeling of new tapes only (this destroys previous contents). The -F and -V options can be specified for the labelit command. The behavior of the -F and -V options is similar to their behavior in the volcopy command.

Printable version
Privacy statement Using this site means you accept its terms Feedback to webmaster
© 1983-2007 Hewlett-Packard Development Company, L.P.