bug-tar
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [Bug-tar] Bug? Where? Why? Why so many files changing as we read the


From: Paul Eggert
Subject: Re: [Bug-tar] Bug? Where? Why? Why so many files changing as we read them?
Date: Tue, 27 Oct 2015 15:40:15 -0700
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:38.0) Gecko/20100101 Thunderbird/38.1.0

One possibility is that the file system is buggy, and that reading a file (and therefore modifying st_atime) also modifies st_ctime as a side effect. Often this sort of thing is delayed, that is, you read a file and its st_atime is updated immediately, but its st_ctime is updated after a delay of a few seconds. This would explain the observed behavior.

See, for example:

https://bugzilla.redhat.com/show_bug.cgi?id=1058526

which does indeed illustrate remote file-system bugs that can cause the behavior in question. (Mark O'Keefe's proposed change to tar isn't right; there are security reasons to worry about ctime as opposed to mtime).



reply via email to

[Prev in Thread] Current Thread [Next in Thread]