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


HP-UX 11i Version 3: February 2007

Technical documentation

» Feedback
Content starts here

 » Table of Contents

 » Index


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


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

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


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


volcopy recognizes the following options:

-F hfs

Specifies the HFS file system type.


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


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


Assume a yes response to all questions


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.


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.


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


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


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.


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


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


The target device.


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.