Museum

Home

Lab Overview

Retrotechnology Articles

Online Manuals

⇒ labelit(1M) — A/UX 2.0

Media Vault

Software Library

Restoration Projects

Artifacts Sought

Related Articles

sh(1)

fs(4)




volcopy(1M) volcopy(1M)
NAME volcopy, labelit - copy file systems with label checking SYNOPSIS /etc/volcopy [-a] [-bpidensity] [-buf] [-feetsize] [- reelnum] [-s] fsname special1 volname1 special2 volname2 /etc/labelit special [fsname volume [-n]] DESCRIPTION volcopy makes a literal copy of the file system using a blocksize matched to the device. Flag options are -a Invokes a verification sequence requiring a posi- tive operator response instead of the standard 10-second delay before the copy is made, -s Invokes the DEL if wrong verification sequence. (default) Other flag options are used only with tapes: -bpidensity Bits-per-inch (that is, 800/1600/6250). -feetsize Size of reel in feet (that is, 1200/2400). -reelnum Beginning reel number for a restarted copy. -buf Use double buffered I/O. 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 file system 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 exam- ple, root, u1, and so forth) of the file system being copied. The special argument should be the physical disk section or tape (for example, /dev/rdsk/c0d0s0, /dev/rmt/0m, and so forth). The volname is the physical volume name (for example, pk3, t0122, and so forth) and should match the external label sticker. Such label names are limited to six or fewer char- April, 1990 1



volcopy(1M) volcopy(1M)
acters. volname may be - to use the existing volume name. special1 and volname1 are the device and volume from which the copy of the file system is being extracted. The argu- ments special2 and volname2 are the target device and volume. The arguments fsname and volname are recorded in the last 12 characters of the superblock (char fsname[6], volname[6];). labelit can be used to provide initial labels for unmounted disk or tape file systems. With the optional arguments om- itted, labelit prints current label values. The -n option provides for initial labeling of new tapes only (this des- troys previous contents). EXAMPLES volcopy newsys /dev/rdsk/c0d0s0 1 /dev/rdsk/c1d0s0 1 copies volume 1 of the file system labeled newsys which is mounted on /dev/rdsk/c0d0s0 onto volume 1 of /dev/rdsk/c1d0s0. labelit /dev/rdsk/c1d0s0 oldsys save relabels the file system mounted on /dev/rdsk/c1d0s0 with a new fsname of oldsys and a new volname of save. FILES /etc/volcopy /etc/labelit /etc/log/filesave.log SEE ALSO sh(1), fs(4). BUGS Only device names beginning with /dev/rmt are treated as tapes. labelit will not work on a cartridge tape system, since such a tape cannot be used as a file system. As a result, vol- copy cannot be used with cartridge tapes, since it requires the tape to be labeled by labelit. 2 April, 1990

Typewritten Software • bear@typewritten.org • Edmonds, WA 98026