I create tar archives with the "-V <volume name>" flag. When I do a 'tar -t', the volume name is the first record, which is then followed by the listing of the rest of the files on the tape.
I want to list that first record (without necessarily knowing the record's name) and stop the listing there. I've tried the '--occurrence 1' argument, but tar doesn't stop after retrieving the 1st record... it scans through the rest of the tape.
There's got to be a way to tell tar to extract the first record from an archive and stop, no?
Maybe something with: