• Post Reply Bookmark Topic Watch Topic
  • New Topic

Write to a tape drive on Solaris 8?

 
Matt Senecal
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I'm probably going to need to write files to a tape drive on a Solaris 8 system. I'd like to do it natively (no Runtime.exec()), but I'm not sure how to tar the files off onto the tape. Has anyone done this before?
 
Matt Senecal
Ranch Hand
Posts: 255
  • Mark post as helpful
  • send pies
  • Quote
  • Report post to moderator
I found (with the help of a hint) that if you tar the files up and open the tape drive as a FileOutputStream, you can then write the TAR file to the tape. The reverse also works.
 
  • Post Reply Bookmark Topic Watch Topic
  • New Topic
Boost this thread!