Subject: bug#27666: [grep on GPFS filesystem] SEEK_HOLE problem

From: Paul Eggert <[email-masked]>
Date: Thu, 13 Jul 2017 13:43:49 -0700

On 07/13/2017 02:13 AM, Moyard John wrote:
> That's why I was asking about another way to identify a binary file instead using 'seek(SEEK_HOLE)' : do you think that it could possible?

If there is a reasonable (i.e., cheap) way for grep to determine that 
SEEK_HOLE is buggy for the current file, I suppose grep could do that. 
Do you know of any such method?

Really, the bug here is in the file system, not in grep. Have you filed 
a bug with the GPFS maintainers?