Path: csiph.com!usenet.pasdenom.info!news.albasani.net!newsfeed.freenet.ag!news2.euro.net!newsgate.cistron.nl!newsgate.news.xs4all.nl!post.news.xs4all.nl!not-for-mail Return-Path: X-Original-To: python-list@python.org Delivered-To: python-list@mail.python.org DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/simple; d=python.org; s=200901; t=1348845522; bh=Zw2lsVuhb7WajU8S9KMiacUeOx+ID+UMWnk5GeAHOSM=; h=To:From:Subject:Date:Message-ID:References:Mime-Version: Content-Type:Content-Transfer-Encoding:In-Reply-To; b=LJy0KrkKAG2Zq4IBAHZXXwVpS5chbOzevohCi/aLKgyaLaFRWXbMkxTXsqaDURuVT JAYrOUy7NrZGNwWjVSwHKUnIVTRWfn9EUtlJBc+q6Q2FZ+0B6rz/0P+zm4hlTJx4A5 Rvhaj2bilJn0U75Q1VV+l5/Jv419jLVHJ0EWb3o0= X-Spam-Status: OK 0.001 X-Spam-Evidence: '*H*': 1.00; '*S*': 0.00; '*not*': 0.07; "subject:' ": 0.07; 'mtime': 0.09; 'received:80.91': 0.09; 'received:80.91.229': 0.09; 'received:gmane.org': 0.09; 'received:list': 0.09; 'sep': 0.09; 'wrong,': 0.09; 'subject:not': 0.11; 'modification': 0.15; 'confusion': 0.16; 'from:name:christian heimes': 0.16; 'happily': 0.16; 'received:80.91.229.3': 0.16; 'received:plane.gmane.org': 0.16; 'subject: \n ': 0.16; "subject:'.": 0.16; 'subject:between': 0.16; 'from:addr:python.org': 0.17; 'wrote:': 0.17; 'permission': 0.20; 'please?': 0.22; 'tells': 0.22; 'changes,': 0.23; 'header:In- Reply-To:1': 0.25; 'header:User-Agent:1': 0.26; 'bugs': 0.27; 'header:X-Complaints-To:1': 0.28; 'chris': 0.28; 'modified,': 0.29; 'subject:other': 0.29; 'subject:what': 0.29; 'url:mailman': 0.29; 'manual': 0.29; 'e.g.': 0.30; 'fri,': 0.30; 'subject:last': 0.30; '(and': 0.32; 'url:python': 0.32; 'google,': 0.32; 'url:listinfo': 0.32; 'subject:change': 0.33; 'to:addr:python- list': 0.33; 'christian': 0.34; 'updated': 0.34; 'involving': 0.35; 'pm,': 0.35; 'received:org': 0.36; 'but': 0.36; 'url:org': 0.36; 'being': 0.37; 'subject:: ': 0.38; 'to:addr:python.org': 0.39; 'google': 0.39; 'where': 0.40; 'header:Received:5': 0.40; 'url:mail': 0.40; 'your': 0.60; 'subject:, ': 0.61; 'time,': 0.62; 'future,': 0.72; 'have.': 0.95 X-Injected-Via-Gmane: http://gmane.org/ To: python-list@python.org From: Christian Heimes Subject: Re: what is the difference between st_ctime and st_mtime one is the time of last change and the other is the time of last modification, but i can not understand what is the difference between 'change' and 'modification'. Date: Fri, 28 Sep 2012 17:18:28 +0200 References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-Gmane-NNTP-Posting-Host: smtp.semantics.de User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:15.0) Gecko/20120827 Thunderbird/15.0 In-Reply-To: X-BeenThere: python-list@python.org X-Mailman-Version: 2.1.15 Precedence: list List-Id: General discussion list for the Python programming language List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Newsgroups: comp.lang.python Message-ID: Lines: 26 NNTP-Posting-Host: 2001:888:2000:d::a6 X-Trace: 1348845523 news.xs4all.nl 6870 [2001:888:2000:d::a6]:33168 X-Complaints-To: abuse@xs4all.nl Xref: csiph.com comp.lang.python:30400 Am 28.09.2012 17:07, schrieb Chris Angelico: > On Fri, Sep 28, 2012 at 11:12 PM, 陈伟 wrote: >> >> -- >> http://mail.python.org/mailman/listinfo/python-list > > In future, can you put the body of your message into the body please? :) > > ctime is creation time, not change time. mtime is modification time, > as you have. But I can understand where the confusion comes from; > Google tells me there've been documentation bugs involving this very > thing (and Google, being extremely Lawful Neutral, would have happily > told you the same thing if you'd asked). In the future please read the manual before replying! ;) You are wrong, ctime is *not* the creation time. It's the change time of the inode. It's updated whenever the inode is modified, e.g. metadata modifications like permission changes, link/unlink of hard links etc. Christian