Working with tape drives
Dustin J. Mitchell
dustin at zmanda.com
Sun Sep 5 18:40:14 UTC 2010
On Sun, Sep 5, 2010 at 11:53 AM, Matevž Markovič
<ivwcorporation.matevz at gmail.com> wrote:
> Can I just use standard C functions for dealing with files or should I use
> mt? If mt is the answer, then how should I read, seek and write to the tape?
> I want to keep my C application as simple as possible. If manipulating with
> tape drives cannot be done with just simple C I/O functions, then is it
> possible to create a wrapper to those functions?
You'll want to use the POSIX mtio interface:
http://www.gsp.com/cgi-bin/man.cgi?section=4&topic=mtio
Dustin
--
Open Source Storage Engineer
http://www.zmanda.com
More information about the freebsd-scsi
mailing list