Feature request: Add fibmap/SEEK_HOLE support to sha1sum. (original) (raw)

Hi,

I have a customer who has several broken CentOS systems which behave badly when reading holes from sparse files (cause not yet discovered).

They are asking for fibmap and optionally SEEK_HOLE support in sha1sum. I would be happy to add these for them. If I did so, would coreutils accept a patch for such features? (I believe these would only yield a marginal performance increase on non-broken systems.)

If so, would I be better autodetecting fibmap and SEEK_HOLE support, or doing this via command line switches?

Thanks,

Chris.