Tek-Tips is the largest IT community on the Internet today!

Members share and learn making Tek-Tips Forums the best source of peer-reviewed technical information on the Internet!

  • Congratulations Chris Miller on being selected by the Tek-Tips community for having the most helpful posts in the forums last week. Way to Go!

How can I write the header to tape?

Status
Not open for further replies.

Dominal

Technical User
Mar 2, 2003
14
HK
Hi! Would you please tell me how to write the tape header? Any special command for that?

Thanks!
 
What sort of header do you want? You do not need to write a header to a tape for normal Unix use. Certain tape applications such as Legato and Netbackup write a header (label) to tapes to enable tape management. These have application specific commands to initialise tapes generally accessed through a GUI.

 
I need to write some data (header+data+trailer) on a tape which will read by a 3480 tape drive on IBM system.
 
In the bad old days of open reel tape, (OK, I confess, I still have an open reel tape drive on one of my Suns) IBM, besides the fact they used EBCDIC, (which the dd command translates just fine) also had two tape formats unlabled, which could only read one file, then read the next, down the tape, and labeled which contained tape headers explaining what machine density and OS made the tape, and aslo file headers so you could name files and skip files at higher speeds. On my Sun in open reel, I see the labels as small files, since the Sun does not DO labling, it treats every tape as an unlabeled tape.

Best solution: find out if they will accept an unlabled tape, second best, get them to send you a labeled tape and save the labels on your Sun as files and always write those files back then put your data on. (ideally you would edit them with real specs) I tried to remain child-like, all I acheived was childish.
 
Status
Not open for further replies.

Part and Inventory Search

Sponsor

Back
Top