Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 19 Nov 2011 20:48:47 -0800
From:      Tim Kientzle <tim@kientzle.com>
To:        Juergen Lock <nox@jelal.kn-bremen.de>
Cc:        Alexander Best <arundel@freebsd.org>, freebsd-hackers@freebsd.org
Subject:   Re: easy way to determine if a stream or fd is seekable
Message-ID:  <649708B5-9CB4-4AEB-9409-FD27224D0365@kientzle.com>
In-Reply-To: <20111118221011.GA99985@triton8.kn-bremen.de>
References:  <20111115202450.GA73512@freebsd.org> <20111116102239.GA2687@britannica.bec.de> <20111116131428.GA40723@freebsd.org> <20111116232152.GC21793@britannica.bec.de> <20111117002438.GA55931@freebsd.org> <201111172055.pAHKtZso061118@triton8.kn-bremen.de> <B06B2304-A1BC-49A3-A811-F05625138D58@kientzle.com> <20111118221011.GA99985@triton8.kn-bremen.de>

next in thread | previous in thread | raw e-mail | index | archive | help

On Nov 18, 2011, at 2:10 PM, Juergen Lock wrote:

> On Fri, Nov 18, 2011 at 12:00:07PM -0800, Tim Kientzle wrote:
>>=20
>> On Nov 17, 2011, at 12:55 PM, Juergen Lock wrote:
>>=20
>>>>=20
>>>> After a few experiments, bsdtar stopped using lseek() on
>>>> FreeBSD for anything other than regular files and block
>>>> devices.
>>>=20
>>> Ah is that the reason why my patch never made it into FreeBSD 9?
>>> =85.
>>> Cheers,
>>> 	Juergen (who would still like to see a faster "tar tfv =
/dev/cd0"... :)
>>=20
>> I would like to see that as well.
>>=20
>> Take a look at=20
>>=20
>> =
http://libarchive.googlecode.com/svn/trunk/libarchive/archive_read_open_fi=
lename.c
>>=20
>=20
> Ah so it's `just' a slow release cycle?
>=20
> % grep DIOCGMEDIASIZE =
/home/ncvs/src/lib/libarchive/archive_read_open_filename.c,v=20
> %
>=20
> When will we see this code in FreeBSD?  10.0?  9.1?  8.3? :)

Definitely in FreeBSD 10.

Unfortunately libarchive 3.0 breaks the API and ABI, so it can't
be imported into 9.1 or 8.3 wholesale.  It should
be possible to back port select pieces, though.

Tim




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?649708B5-9CB4-4AEB-9409-FD27224D0365>