API for accessing Tape Drive
1 posts in topic
Flat View  Flat View
TOPIC ACTIONS:
 

Posted By:   BSRV_BC
Posted On:   Wednesday, February 16, 2005 01:32 AM

hi

i am looking out for a way to access tape drive for storing backup informations in tape drive

Plz, guide me.

advance Thanks.

BSRV

Re: API for accessing Tape Drive

Posted By:   Christopher_Koenigsberg  
Posted On:   Wednesday, February 16, 2005 02:09 PM

In Unix you can use "mt" commands (via a Runtime exec) for positioning/rewinding the tape, and then just open the file descriptor e.g. "/dev/mt0" to read/write to and from it... maybe even just read/write to/from stdin/stdout, and pipe your program to/from the mt device.
About | Sitemap | Contact