tapelabel JL4765 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 52258 tarfile 2 LOG 52257 tarfile 3 ASTROGANG 2774 tarfile 4 PHOTOGANG 2774 tarfile 5 ASTROGANG 2775 tarfile 6 PHOTOGANG 2775 tarfile 7 ASTROGANG 2776 tarfile 8 PHOTOGANG 2776 tarfile 9 ASTROGANG 2777 tarfile 10 PHOTOGANG 2777 tarfile 11 ASTROGANG 2778 tarfile 12 PHOTOGANG 2778 tarfile 13 ASTROGANG 2779 tarfile 14 PHOTOGANG 2779 tarfile 15 ASTROGANG 2780 tarfile 16 PHOTOGANG 2780 tarfile 17 SPECTRO 52258 tarfile 18 TPM 52258