3 Eloquence Migration Tools

ctd260

The ctd260 program reads HP 260 files of type PROG, DATA, FORM, ROOT, and DSET and copies them to the HP 9000.

Syntax

ctd260 [options] device file

Options:

-help
Show usage (this list)
-c
Catalog device.
-x
Extract files from device.
-o path
Output directory.
-n arg
Name mask (up to ten, default is all files).
-t arg
File types (up to ten, default is all types).
-v
Verbose.
-k
Keep files already existing (don't overwrite).
-S
Select size of read buffer. See tcio(1) and ct(7)
devicefile
Enter device file from which to read. Specifying a hyphen (-) in place of a devicefile will force reading from the stdin (standard input device).

Examples:

Example One:


ctd260  -xv -ndbm* /dev/rdsk/c1001d0s2
Extracts files from disk.


ctd260  -xv -ndbm* /dev/rct/c1002d0s2
Extracts files from cartridge tape.

While one command sequence shows the device file name for a disk and the other a cartridge tape, both do the following:

Display:

B1368B CTD260 (C) COPYRIGHT HEWLETT-PACKARD GmbH 1991 (A.03.00)

*** volume header ***

System id code: 600
Volume Size   : 16352 kbytes
Directory size:  4080 entries
User area     : 16160 kbytes
Volume label  : 

NAME  PR TYPE RECS   RECL   START
----- -- ---- ------ ------ --------
dbmap2   DATA     11    256      768
dbmap1   DATA      7    256      779
dbmap3   DATA     16    256      786
dbmap4   DATA     11    256      802
dbmap5   DATA     13    256      813

Example Two:

ctd260 -xv -tFORM -tR260 /dev/rdsk/c1001d0s2

Files of type FORM and ROOT are extracted into the current directory.

As there are no file types under HP-UX, the file names have an extension which indicates the file type the file was on the HP 260:

name.PROG
program file
name.FORM
form file
name.DATA
data file
name.R260
ROOT file for named database
name.nn.DSET
data set file for set nn of named database
Eloquence commands, statements, utilities work with name. Pure HP-UX commands or utilities work with complete file name.

NOTE: When transferring ROOT files the ctd260 program generate files with the extension .R260. These files denote an HP 260 root file.

Converting FVBACK files

FVBACK is a HP260 utility program to backup a whole disc into a set of backup files. The FVBACK file format is closely related to the HP260 media format.

The ctd260 utility can be used to extract files from archives created by the HP260 FVBACK utilitiy. The undocumented -f commandline flag is used to unpack HP260 FVBACK files.

To unpack an FVBACK archive, the following steps must be executed:

  1. Transfer all FVBACK files from HP260 media onto local disk.

FVBACK files are of type BKUP, which are normally ignored by ctd260. In order to extract them, you must specify the -t BKUP argument to ctd260.

  1. Unpack the FVBACK files

To unpack the FVBACK files, specify the -f commandline flag to ctd260 and the file name of the first FVBACK file. The file name of subsequent backup files are derived from the initial backup file name.

For example, if you have three FVBACK files named FVBFL.BKUP, FVBFL2.BKUP and FVBFL3.BKUP:

ctd260 -f -x FVBACK.BKUP
This will unpack all files, contained in the three backup files.

Note:

This feature is considered unsupported because some revisions of FVBACK are known to create inconsistent FVBACK files so ctd260 may not be able to unpack them.


HP260 to Eloquence Migration - 13 FEB 2003