From owner-freebsd-questions@FreeBSD.ORG Wed Sep 22 22:48:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id EACCB16A4CF for ; Wed, 22 Sep 2004 22:48:00 +0000 (GMT) Received: from relay01.roc.ny.frontiernet.net (relay01.roc.ny.frontiernet.net [66.133.131.34]) by mx1.FreeBSD.org (Postfix) with ESMTP id 7C4EE43D1D for ; Wed, 22 Sep 2004 22:48:00 +0000 (GMT) (envelope-from drew@mykitchentable.net) Received: from filter01.roc.ny.frontiernet.net (filter01.roc.ny.frontiernet.net [66.133.131.176]) by relay01.roc.ny.frontiernet.net (Postfix) with ESMTP id 8428810472; Wed, 22 Sep 2004 22:47:59 +0000 (UTC) Received: from relay01.roc.ny.frontiernet.net ([66.133.131.34]) [66.133.131.176]) (amavisd-new, port 10024) with LMTP id 23460-05-56; Wed, 22 Sep 2004 22:47:59 +0000 (UTC) Received: from blacklamb.mykitchentable.net (67-51-166-141.dsl1.elk.ca.frontiernet.net [67.51.166.141]) by relay01.roc.ny.frontiernet.net (Postfix) with ESMTP id 2B8BB1019E; Wed, 22 Sep 2004 22:47:51 +0000 (UTC) Received: from [165.107.42.151] (unknown [165.107.42.151]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by blacklamb.mykitchentable.net (Postfix) with ESMTP id 950C93BF36C; Wed, 22 Sep 2004 15:47:50 -0700 (PDT) Message-ID: <41520114.7080607@mykitchentable.net> Date: Wed, 22 Sep 2004 15:47:48 -0700 From: Drew Tomlinson User-Agent: Mozilla Thunderbird 0.8 (Windows/20040913) X-Accept-Language: en-us, en MIME-Version: 1.0 To: Matthew Seaman References: <4151998F.205@mykitchentable.net> <20040922153904.GA16792@happy-idiot-talk.infracaninophile.co.uk> <4151A296.90505@mykitchentable.net> <20040922173451.GA18351@happy-idiot-talk.infracaninophile.co.uk> <4151BABA.30300@mykitchentable.net> <20040922182306.GA18680@happy-idiot-talk.infracaninophile.co.uk> In-Reply-To: <20040922182306.GA18680@happy-idiot-talk.infracaninophile.co.uk> Content-Type: multipart/signed; protocol="application/x-pkcs7-signature"; micalg=sha1; boundary="------------ms070608070008000500080506" X-Virus-Scanned: by amavisd-new-20040701 (2.0) (Debian) at filter01.roc.ny.frontiernet.net cc: FreeBSD Questions Subject: Re: Find Command Syntax X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 22 Sep 2004 22:48:01 -0000 This is a cryptographically signed message in MIME format. --------------ms070608070008000500080506 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit On 9/22/2004 11:23 AM Matthew Seaman wrote: >On Wed, Sep 22, 2004 at 10:47:38AM -0700, Drew Tomlinson wrote: > > > >>OK, I'm trying to understand the difference. According to the manual >>-ctime is "change of file status" and -mtime is "last modification >>time". I think I understand what modification means (changing the >>contents of the file) but what is "change of file status"? In my >>particular situation, while reviewing my spam folder for possible "ham", >>my IMAP client may change the message status from unread to read. How >>would this affect the actual message file? >> >> > >The ctime entry (originally 'creation time') used to be intended to >record when the file was created. Nowadays it records the last time >the inode for the file changed -- that includes such things as changes >to file permissions, ACLs, option flags etc., but not such things as >modifications to the file contents which don't change the file size a >great deal. > >This status has nothing to do with what your IMAP client reports as >the file status. The ctime concept applies to any file on the system, >no matter what it's used for. IMAP status just records or modifies an >extra header within the message to indicate if it's been read or not. > >Thus reading those messages via IMAP might change mtime but not >ctime. However, I'm not certain of that. You'll have to experiment. >You can print out the ctime and mtime for the files by: > > % stat -f 'ctime=%Sc mtime=%Sm %N' -t '%c' * > >Usually mtime and ctime will be exactly the same. > > Cheers, > > Matthew > > Thank you very much for the explanation. I will use your stat example and do some investigating. Drew -- Visit The Alchemist's Warehouse Magic Tricks, DVDs, Videos, Books, & More! http://www.alchemistswarehouse.com --------------ms070608070008000500080506 Content-Type: application/x-pkcs7-signature; name="smime.p7s" Content-Transfer-Encoding: base64 Content-Disposition: attachment; filename="smime.p7s" Content-Description: S/MIME Cryptographic Signature MIAGCSqGSIb3DQEHAqCAMIACAQExCzAJBgUrDgMCGgUAMIAGCSqGSIb3DQEHAQAAoIIH+TCC AlcwggHAoAMCAQICAw0RLjANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJaQTElMCMGA1UE ChMcVGhhd3RlIENvbnN1bHRpbmcgKFB0eSkgTHRkLjEsMCoGA1UEAxMjVGhhd3RlIFBlcnNv bmFsIEZyZWVtYWlsIElzc3VpbmcgQ0EwHhcNMDQwOTE4MTQ1MDAxWhcNMDUwOTE4MTQ1MDAx WjBJMR8wHQYDVQQDExZUaGF3dGUgRnJlZW1haWwgTWVtYmVyMSYwJAYJKoZIhvcNAQkBFhdk cmV3QG15a2l0Y2hlbnRhYmxlLm5ldDCBnzANBgkqhkiG9w0BAQEFAAOBjQAwgYkCgYEAwJS7 Je3OPtSkBf9B6ZrTC0vrxLNCV9WP3bHljygz2ZQtyr6TpV0j5E8ZMH9MSVxxySTXkeji/e5O C77BJrcnBUxalMn5v+Ad5Ad7ho52XWyMvlFTJSHW3S1kriBpM/boRa8uQy4YScF9qIrqGi4L VTf3xlsELK/ZfC7u84iZUd8CAwEAAaM0MDIwIgYDVR0RBBswGYEXZHJld0BteWtpdGNoZW50 YWJsZS5uZXQwDAYDVR0TAQH/BAIwADANBgkqhkiG9w0BAQQFAAOBgQCT6LpTtvsZM047jNdX CR51RKrjQgeu0XCngtVUhO3lOlKxvH2BOSd/CRQo6rXzCrTWFectUPQ60RCLiyA23tBF4sFG ThcWduFqyK8h4uBZHzuHQY9GfA6b8ndeagYGBrK7HQd/3Lf6mRxprt0wtrWXln6tdb5WTgqh ezOqHTCZ7zCCAlcwggHAoAMCAQICAw0RLjANBgkqhkiG9w0BAQQFADBiMQswCQYDVQQGEwJa QTElMCMGA1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