Skip to content

mtalexander/lbltp

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

39 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

This directory contains version 1.3 of lbltp, a command line program to read and write tapes, both real and virtual, on several platforms.  There are binaries for Windows and Mac OS X included.  It is also possible to build it on various other Unix based platforms.

The changes made between version 1.2 and 1.3 include:

1. Add a {faketape|awstape} parameter to the ditto command to control the format of the tape created.

2. Make the "trans(xxx)" parameter on the copy command work.

3. Put the correct code (blank instead of null) in the "Control Character" (offset 36) field in HDR2 records for the default case of no CC.

4. Change the dates in header labels to conform to the IBM standard where 20th century
dates are " yyddd", 21st century dates are "0yyddd", 22nd century dates are "1yyddd", etc.  Any year before 55 is assumed to be a 21st century date.


In addition to a large number of internal changes necessary to get it to build without warnings on various platforms and compilers, these externally visible changes have been made to lbltp between version 1.1 and 1.2:

1. Better error checking of FS tapes including checking the checksum on files that have a checksum.

2. The file containing a virtual tape is truncated when the tape is initialized.

3. Files containing virtual tapes are opened in binary mode so line ending characters won't cause trouble.  This is particularly a problem on Windows.

4. Better handling of VLO tapes.  You can specify that a tape is a VLO tape when it is opened by using the VLOVOL parameter to give the VOLID for the tape.

5. Support for AWSTape format virtual tapes.  They will be recognized automatically when opened and can be created using the AWSTAPE parameter on the initialize command.  This is actually the default, to initialize a FAKETAPE format virtual tape as supported by lbltp version 1.1, use the FAKETAPE parameter on initialize.

6. The parameter that specifies the path to a virtual tape on an open command can be quoted so it can contain blanks and other delimiters.  The initialize command was not changed to allow quoted paths.

7. The open command has a parameter "NOTFSTAPE" which specifies that the tape should not be treated as an FS tape even if it looks like one.  This lets you copy FS tapes with care.  You can't add or delete files from an FS tape this way, but it lets you change the format between FAKETAPE and AWSTape.

8. It works on Mac OS X (i.e. Darwin) and Windows.  Neither platform supports real tapes, only virtual tapes are supported.  The Darwin version builds with either CodeWarrior 9 or XCode 1.5 (there is also a make file to build it directly with gcc).  The Windows version builds with either MSVC 7.1 or Cygwin.

    Mike Alexander
    [email protected]
    
    27 June, 2011
    

About

Command line program to read AWS tapes

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published