tapelabel JL8317 dataSource ganglog # ganglog, mt, spectro device /dev/mt/tps3d6nrnsvc # tape drive typedef enum { ASTROGANG, # GANG files for a single imaging run PHOTOGANG, # GANG files for a single imaging run LOG, # log files for a single imaging night MT, # all files for a single MT night SPECTRO, # all files for a single spectro night TPM # all TPM files for a single night } TARCONTENTS; typedef struct { int filemarks; # number of filemakrs to skip to get here TARCONTENTS contents; # GANG, LOG, SPECTRO, MT int id; # mjd for logs, run number for gangs } TARFILE; tarfile 1 LOG 53405 tarfile 2 ASTROGANG 5135 tarfile 3 PHOTOGANG 5135 tarfile 4 ASTROGANG 5136 tarfile 5 PHOTOGANG 5136 tarfile 6 ASTROGANG 5137 tarfile 7 PHOTOGANG 5137 tarfile 8 ASTROGANG 5138 tarfile 9 PHOTOGANG 5138 tarfile 10 ASTROGANG 5139 tarfile 11 PHOTOGANG 5139 tarfile 12 ASTROGANG 5140 tarfile 13 PHOTOGANG 5140 tarfile 14 ASTROGANG 5141 tarfile 15 PHOTOGANG 5141 tarfile 16 SPECTRO 53405 tarfile 17 TPM 53405