From owner-freebsd-hackers@FreeBSD.ORG Tue Nov 14 14:44:53 2006 Return-Path: X-Original-To: freebsd-hackers@freebsd.org Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id C447616A415 for ; Tue, 14 Nov 2006 14:44:53 +0000 (UTC) (envelope-from pjd@garage.freebsd.pl) Received: from mail.garage.freebsd.pl (arm132.internetdsl.tpnet.pl [83.17.198.132]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1E50643D6A for ; Tue, 14 Nov 2006 14:44:52 +0000 (GMT) (envelope-from pjd@garage.freebsd.pl) Received: by mail.garage.freebsd.pl (Postfix, from userid 65534) id 28A4F48800; Tue, 14 Nov 2006 15:44:51 +0100 (CET) Received: from localhost (pjd.wheel.pl [10.0.1.1]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mail.garage.freebsd.pl (Postfix) with ESMTP id 2C1AB487F3; Tue, 14 Nov 2006 15:44:37 +0100 (CET) Date: Tue, 14 Nov 2006 15:44:30 +0100 From: Pawel Jakub Dawidek To: Pedro F Giffuni Message-ID: <20061114144430.GI36814@garage.freebsd.pl> References: <20061108013836.77606.qmail@web32713.mail.mud.yahoo.com> MIME-Version: 1.0 Content-Type: multipart/signed; micalg=pgp-sha1; protocol="application/pgp-signature"; boundary="LQ77YLfPrO/qF/pM" Content-Disposition: inline In-Reply-To: <20061108013836.77606.qmail@web32713.mail.mud.yahoo.com> X-PGP-Key-URL: http://people.freebsd.org/~pjd/pjd.asc X-OS: FreeBSD 7.0-CURRENT i386 User-Agent: mutt-ng/devel-r804 (FreeBSD) X-Spam-Checker-Version: SpamAssassin 3.0.4 (2005-06-05) on mail.garage.freebsd.pl X-Spam-Level: X-Spam-Status: No, score=-5.9 required=3.0 tests=ALL_TRUSTED,BAYES_00 autolearn=ham version=3.0.4 Cc: freebsd-hackers@freebsd.org Subject: Re: SEEK_HOLE and SEEK_DATA for sparse files any takers? X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 14 Nov 2006 14:44:53 -0000 --LQ77YLfPrO/qF/pM Content-Type: text/plain; charset=iso-8859-2 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable On Wed, Nov 08, 2006 at 02:38:36AM +0100, Pedro F Giffuni wrote: > Hi; >=20 > >From http://blogs.sun.com/bonwick/date/200512 >=20 > "At this writing, SEEK_HOLE and SEEK_DATA are Solaris-specific. I encoura= ge > (implore? beg?) other operating systems to adopt these lseek(2) extensions > verbatim (100% tax-free) so that sparse file navigation becomes a ubiquit= ous > feature that every backup and archiving program can rely on. It's long > overdue." >=20 > It should be mentioned that linux adopted them and they would help the ZFS > port. I've some starting code for this and I'm planning to implement them, at least for ZFS. --=20 Pawel Jakub Dawidek http://www.wheel.pl pjd@FreeBSD.org http://www.FreeBSD.org FreeBSD committer Am I Evil? Yes, I Am! --LQ77YLfPrO/qF/pM Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.4 (FreeBSD) iD8DBQFFWdZOForvXbEpPzQRAtzAAJ90pB5Wtu8L0caLCbTpIH+l1TbitwCgiU9h dbbTbG025JaEHVi7ceoXZlA= =U9BA -----END PGP SIGNATURE----- --LQ77YLfPrO/qF/pM--