coreutils
[Top][All Lists]
Advanced

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

Re: stat: clarify mtime vs ctime [patch]


From: Pádraig Brady
Subject: Re: stat: clarify mtime vs ctime [patch]
Date: Wed, 23 Apr 2014 11:52:57 +0100
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:17.0) Gecko/20130110 Thunderbird/17.0.2

On 04/22/2014 04:25 PM, Assaf Gordon wrote:
> On 04/21/2014 03:57 PM, Pádraig Brady wrote:
>> On 04/21/2014 08:14 PM, Assaf Gordon wrote:
>>> Would you be receptive to adding a tiny patch to 'stat' to clarify the 
>>> difference between modification time and change time?
>>>
>> This clarification is worth making, thanks!
>>
>>> Perhaps, in addition, add a new FAQ ?
>>
>> Let's avoid the FAQ for the moment.
>> Hopefully the improved docs will avoid the need.
> 
> <...>
> 
>> but
>> if the file was just opened for reading, then access time isn't updated,
>> only if data is read. Also for performance reasons, modern Linux systems
>> only update atime if it's older than [cm]time.
>> I.E. with relatime enabled, it's really only an indicator
>> as to whether the file has been read since it was last updated.
>> So I think this whole block might add more ambiguity than
>> any additional clarification. OK to drop this block?
> 
> Attached are improved patches:
> The first contains only the added words "status" and "data".

Pushed this one.

thanks!
Pádraig.



reply via email to

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