tapelabel JL4585 dataSource ganglog # ganglog, mt, spectro device /dev/mt/tps4d3nrnsvc # 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 52221 tarfile 2 LOG 52220 tarfile 3 SPECTRO 52221 tarfile 4 TPM 52221