Re: svn commit: r274410 - head/usr.bin/mkimg

2014-11-12 Thread Konstantin Belousov
On Wed, Nov 12, 2014 at 12:10:27AM +, Marcel Moolenaar wrote: Author: marcel Date: Wed Nov 12 00:10:27 2014 New Revision: 274410 URL: https://svnweb.freebsd.org/changeset/base/274410 Log: SEEK_DATA has interesting behaviour for sparse files on ZFS. A sparse file with 128K of

svn commit: r274410 - head/usr.bin/mkimg

2014-11-11 Thread Marcel Moolenaar
Author: marcel Date: Wed Nov 12 00:10:27 2014 New Revision: 274410 URL: https://svnweb.freebsd.org/changeset/base/274410 Log: SEEK_DATA has interesting behaviour for sparse files on ZFS. A sparse file with 128K of random data and truncated to 800K can have SEEK_DATA return -1 when given an