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: Wed, 09 Sep 2009 10:47:47 +0300 Message-ID: <1252482467.5782.12.camel@jorg-desktop> References: <1252420131.5782.2.camel@jorg-desktop> <1252420448-7282-1-git-send-email-ext-jorg.2.schummer@nokia.com> <20090908153949.GD5579@shareable.org> Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: QUOTED-PRINTABLE Cc: "hirofumi@mail.parknet.co.jp" , "linux-kernel@vger.kernel.org" , "linux-fsdevel@vger.kernel.org" To: ext Jamie Lokier Return-path: Received: from smtp.nokia.com ([192.100.122.230]:27978 "EHLO mgw-mx03.nokia.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751920AbZIIHsM (ORCPT ); Wed, 9 Sep 2009 03:48:12 -0400 In-Reply-To: <20090908153949.GD5579@shareable.org> Sender: linux-fsdevel-owner@vger.kernel.org List-ID: On Tue, 2009-09-08 at 17:39 +0200, ext Jamie Lokier wrote: > Jorg Schummer wrote: > > Standard FAT implementations cannot store any of the FAT root direc= tory's > > timestamps. This commit adds the mount option 'rootts', which allow= s saving > > the FAT root directory timestamps as the timestamps of the FAT volu= me label > > directory entry. At least Mac OS X is known to support the same mec= hanism > > and interoperate with this commit. > >=20 > > When mounting, the following values can be specified for the 'roott= s' mount > > option: > >=20 > > "rootts=3Dignore" ignores root directory timestamps. All timest= amps are > > reset to 0 (1/1/1970). This has been the FAT be= haviour > > prior to this patch. > >=20 > > "rootts=3Dpreserve" tries to load and save the root directory's t= imestamps > > if a volume label entry exists. The mtime and a= time are > > corrected based on root directory entries' ctim= e. This > > is the default. > >=20 > > "rootts=3Dsave" tries to load and save the root directory's t= imestamps. > > The mtime and atime are corrected based on root > > directory entries' ctime. If the root directory= was > > accessed but no volume label entry exists, the = label > > "NO NAME" is created. >=20 > Does Mac OS X do the same "NO NAME" thing? AFAIK: No. It only supports the general mechanism of storing / loading the root dir timestamps to / from the volume label entry. But feel free to re-check that one. 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