MSTAREXTRACT

Program Description:

This program will copy files from the MSTAR distribution set to disk.

Version #:

1.0

What's New:

Initial Version

Program Usage:

After running the program, the program will wait for the user to enter the filenames to be copied to disk. The program will read filenames from stdin until it reads an end-of-file (EOF) mark (a (ctrl)D on UNIX machines). It will then data dump the files from tape to disk using a block size of 8192, prompting the user whenever a new tape is needed. 

The program verifies that the file is the proper file by checking the filename parameter in the summary header. If this filename does not match the filename requested, and error is reported. 

Note: In order for the program to work properly, the drive specified in the command line must be the no rewind version. 

Description of Arguments: 

The program has one required argument, the tape drive to read from, and one optional argument, the tape that is currently in the drive. The calling sequence is therefore: % mstar_extract drive [tape_name]. Also the MSTAR distribution table of contents file, mstar_datafiles, must be in the current working directory. 

Files Necessary to Compile: 

  • mstar_extract.h
  • mstar_extract.c
  • tape