Date: Wed, 9 Nov 2011 23:46:15 -0700 From: Warner Losh <imp@bsdimp.com> To: Tim Kientzle <tim@kientzle.com> Cc: Bruce Cran <bruce@cran.org.uk>, Ed Schouten <ed@80386.nl>, Jilles Tjoelker <jilles@stack.nl>, Alfred Perlstein <alfred@FreeBSD.org>, arch@FreeBSD.org, freebsd-arch@FreeBSD.org Subject: Re: [PATCH] fadvise(2) system call Message-ID: <1B4CA8AC-8798-40CD-9379-FA0F379558DE@bsdimp.com> In-Reply-To: <6E287E90-AA62-4776-A09D-394D69C9494F@kientzle.com> References: <201110281426.00013.jhb@freebsd.org> <4EB2C9DD.9090606@FreeBSD.org> <20111104160319.GD6110@elvis.mu.org> <201111080800.32717.jhb@freebsd.org> <CAGE5yCoTvYNXNc37V0%2Bt783uh=6J-_J-dt_Km_4xbO7O2O2BUw@mail.gmail.com> <6E287E90-AA62-4776-A09D-394D69C9494F@kientzle.com>
next in thread | previous in thread | raw e-mail | index | archive | help
On Nov 9, 2011, at 11:03 PM, Tim Kientzle wrote: > Anyone know how to properly request a "skip forward" > on tape drives? That's one of the missing pieces. I thought that you couldn't seek(2) on tape drives. You must read(2) the data. At least for this application, since a tar file would be just one file on the tape. If you want to see to the next file mark, you need to use an ioctl to get there, or read a lot. Warner
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1B4CA8AC-8798-40CD-9379-FA0F379558DE>
