Date: Sun, 5 Sep 2010 13:18:13 -0500 From: "Dustin J. Mitchell" <dustin@zmanda.com> To: =?UTF-8?B?TWF0ZXbFviBNYXJrb3ZpxI0=?= <ivwcorporation.matevz@gmail.com> Cc: freebsd-scsi@freebsd.org Subject: Re: Working with tape drives Message-ID: <AANLkTi=ozhObqEyyUzV7g5VBykPO8y9y4yPnanrYt8NL@mail.gmail.com> In-Reply-To: <AANLkTin0Jq7w0pjoE3hXjx0GkDd8B6YCYNB_Pb6QAUN3@mail.gmail.com> References: <AANLkTin0Jq7w0pjoE3hXjx0GkDd8B6YCYNB_Pb6QAUN3@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Sun, Sep 5, 2010 at 11:53 AM, Matev=C5=BE Markovi=C4=8D <ivwcorporation.matevz@gmail.com> wrote: > Can I just use standard C functions for dealing with files or should I us= e > mt? If mt is the answer, then how should I read, seek and write to the ta= pe? > I want to keep my C application as simple as possible. If manipulating wi= th > 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=3D4&topic=3Dmtio Dustin --=20 Open Source Storage Engineer http://www.zmanda.com
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?AANLkTi=ozhObqEyyUzV7g5VBykPO8y9y4yPnanrYt8NL>