Return-Path: X-Spam-Checker-Version: SpamAssassin 3.4.0 (2014-02-07) on aws-us-west-2-korg-lkml-1.web.codeaurora.org Received: from vger.kernel.org (vger.kernel.org [23.128.96.18]) by smtp.lore.kernel.org (Postfix) with ESMTP id 94FFAC433EF for ; Wed, 23 Mar 2022 10:57:27 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S243636AbiCWK6z (ORCPT ); Wed, 23 Mar 2022 06:58:55 -0400 Received: from lindbergh.monkeyblade.net ([23.128.96.19]:52044 "EHLO lindbergh.monkeyblade.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S243639AbiCWK6x (ORCPT ); Wed, 23 Mar 2022 06:58:53 -0400 Received: from mail.parknet.co.jp (mail.parknet.co.jp [210.171.160.6]) by lindbergh.monkeyblade.net (Postfix) with ESMTP id 1D84F78060 for ; Wed, 23 Mar 2022 03:57:19 -0700 (PDT) Received: from ibmpc.myhome.or.jp (server.parknet.ne.jp [210.171.168.39]) by mail.parknet.co.jp (Postfix) with ESMTPSA id 8A34115F939; Wed, 23 Mar 2022 19:57:18 +0900 (JST) Received: from devron.myhome.or.jp (foobar@devron.myhome.or.jp [192.168.0.3]) by ibmpc.myhome.or.jp (8.16.1/8.16.1/Debian-2) with ESMTPS id 22NAvHkh109821 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Mar 2022 19:57:18 +0900 Received: from devron.myhome.or.jp (foobar@localhost [127.0.0.1]) by devron.myhome.or.jp (8.16.1/8.16.1/Debian-2) with ESMTPS id 22NAvHZm375873 (version=TLSv1.3 cipher=TLS_AES_256_GCM_SHA384 bits=256 verify=NOT); Wed, 23 Mar 2022 19:57:17 +0900 Received: (from hirofumi@localhost) by devron.myhome.or.jp (8.16.1/8.16.1/Submit) id 22NAvGrg375872; Wed, 23 Mar 2022 19:57:16 +0900 From: OGAWA Hirofumi To: Chung-Chiang Cheng Cc: Chung-Chiang Cheng , linux-fsdevel@vger.kernel.org, kernel@cccheng.net Subject: Re: [PATCH 2/2] fat: introduce creation time References: <20220321095814.175891-1-cccheng@synology.com> <20220321095814.175891-2-cccheng@synology.com> <87lex2e91h.fsf@mail.parknet.co.jp> <87sfr917hr.fsf@mail.parknet.co.jp> Date: Wed, 23 Mar 2022 19:57:16 +0900 In-Reply-To: (Chung-Chiang Cheng's message of "Wed, 23 Mar 2022 18:27:43 +0800") Message-ID: <87o81x0wdv.fsf@mail.parknet.co.jp> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/29.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain Precedence: bulk List-ID: X-Mailing-List: linux-fsdevel@vger.kernel.org Chung-Chiang Cheng writes: > I got your point. Correctly speaking ctime is not really dropped but mixed > with mtime after my patch. They share the same field on disk. Before that > ctime is mixed with crtime. > > I choose this new behavior because ctime and mtime are similar concepts. > ctime is the update time for file attributes, and mtime is the one for file > contents. They are updated together most of the time with few exceptions > (rename, rmdir, unlink) in the current FAT implementation. No, a user can change the ctime to arbitrary time, and after the your patch, the changed ctime only hold on a memory inode. So a user sees ctime jump backward and forward when a memory inode is expired. (Of course, this happens just by "cp -a" in real world use case.) I'm pointing about this introduced new behavior by your patch. Thanks. -- OGAWA Hirofumi