On 03/30/2017 09:01 AM, Mark wrote:
I think it would be a good idea to add an option to tell tar whether to use POSIX_FADV_NOREUSE, POSIX_FADV_DONTNEED, or neither, since there may be cases where any of the three possibilities is best.
Might make sense, yes.
Or maybe tar could read an environment variable to determine which to use?
We're trying to get away from environment variables since they can be a hassle for security reasons. Arguably an exception could be made in this case, since it's just advice.