trinity-devel@lists.pearsoncomputing.net

Message: previous - next
Month: August 2012

Re: [trinity-devel] Fix large-files in kio-locate

From: Slávek Banko <slavek.banko@...>
Date: Wed, 22 Aug 2012 21:45:17 +0200
On Wednesday 22 of August 2012 21:07:53 David C. Rankin wrote:
> Built kio-locate with patch on i686/32-bit system, all searches (mlocate
> based) work fine. I don't have files >2G on this install to test, but
> everything else works fine. Do you want me to copy files >2G over and test?
> I think I have a dvd-image somewhere I could test with.
>
> Everything but that final test is fine!

The problem was exactly with files larger than 2 GiB. To create a large file 
you can simply use the "sparse" file:

  dd if=/dev/zero of=large.iso bs=1 count=1 seek=3G

Slavek
--