tapelabel JL7428 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 53111 tarfile 2 ASTROGANG 4573 tarfile 3 PHOTOGANG 4573 tarfile 4 ASTROGANG 4574 tarfile 5 PHOTOGANG 4574 tarfile 6 ASTROGANG 4575 tarfile 7 PHOTOGANG 4575 tarfile 8 ASTROGANG 4576 tarfile 9 PHOTOGANG 4576 tarfile 10 SPECTRO 53111 tarfile 11 TPM 53111 tarfile 12 LOG 53111 tarfile 13 ASTROGANG 4573 tarfile 14 PHOTOGANG 4573 tarfile 15 ASTROGANG 4574 tarfile 16 PHOTOGANG 4574 tarfile 17 ASTROGANG 4575 tarfile 18 PHOTOGANG 4575 tarfile 19 ASTROGANG 4576 tarfile 20 PHOTOGANG 4576 tarfile 21 SPECTRO 53111 tarfile 22 TPM 53111