From mboxrd@z Thu Jan 1 00:00:00 1970 From: =?ISO-8859-1?Q?J=F6rg?= Schummer Subject: Re: [PATCH take 3][RFC] fat: Save FAT root directory timestamps to volume label Date: Tue, 15 Sep 2009 14:03:42 +0300 Message-ID: <1253012622.5740.4.camel@jorg-desktop> References: <1252420131.5782.2.camel@jorg-desktop> <1252420448-7282-1-git-send-email-ext-jorg.2.schummer@nokia.com> Reply-To: jorg@ml1.net Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" , jorg@ml1.net To: "hirofumi@mail.parknet.co.jp" Return-path: Received: from smtp.nokia.com ([192.100.122.230]:63872 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752805AbZIOLDx (ORCPT ); Tue, 15 Sep 2009 07:03:53 -0400 In-Reply-To: <1252420448-7282-1-git-send-email-ext-jorg.2.schummer@nokia.com> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, 2009-09-08 at 16:34 +0200, Schummer Jorg.2 (EXT-TietoEnator/Helsinki) wrote: > Standard FAT implementations cannot store any of the FAT root directo= ry's > timestamps. This commit adds the mount option 'rootts', which allows = saving > the FAT root directory timestamps as the timestamps of the FAT volume= label > directory entry. At least Mac OS X is known to support the same mecha= nism > and interoperate with this commit. >=20 > When mounting, the following values can be specified for the 'rootts'= mount > option: >=20 > "rootts=3Dignore" ignores root directory timestamps. All timestam= ps are > reset to 0 (1/1/1970). This has been the FAT beha= viour > prior to this patch. >=20 > "rootts=3Dpreserve" tries to load and save the root directory's tim= estamps > if a volume label entry exists. The mtime and ati= me are > corrected based on root directory entries' ctime.= This > is the default. >=20 > "rootts=3Dsave" tries to load and save the root directory's tim= estamps. > The mtime and atime are corrected based on root > directory entries' ctime. If the root directory w= as > accessed but no volume label entry exists, the la= bel > "NO NAME" is created. Hello again, in case anyone would like to send some feedback or comments about the patch, please use this email address from now on: jorg@ml1.net . Thanks, J=C3=B6rg -- To unsubscribe from this list: send the line "unsubscribe linux-fsdevel= " in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html