From brde@optusnet.com.au Thu Mar 27 11:31:27 2008 Return-Path: Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 90768106564A for ; Thu, 27 Mar 2008 11:31:27 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from mail07.syd.optusnet.com.au (mail07.syd.optusnet.com.au [211.29.132.188]) by mx1.freebsd.org (Postfix) with ESMTP id 1107E8FC2B for ; Thu, 27 Mar 2008 11:31:26 +0000 (UTC) (envelope-from brde@optusnet.com.au) Received: from c220-239-252-11.carlnfd3.nsw.optusnet.com.au (c220-239-252-11.carlnfd3.nsw.optusnet.com.au [220.239.252.11]) by mail07.syd.optusnet.com.au (8.13.1/8.13.1) with ESMTP id m2RBVNeq022645 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO); Thu, 27 Mar 2008 22:31:24 +1100 Message-Id: <20080327222628.L79554@delplex.bde.org> Date: Thu, 27 Mar 2008 22:31:22 +1100 (EST) From: Bruce Evans To: Vadim Goncharov Cc: Bruce Evans , bug-followup@FreeBSD.org In-Reply-To: <200803240447.m2O4lcCm096344@hostel.avtf.net> Subject: Re: random st_birthtime References: <776B93361B7BEE4FAD9E720FFBC746B6BDDB63@34093-EVS4C2.exchange.rackspace.com> <20080321130531.R58941@delplex.bde.org> <200803240447.m2O4lcCm096344@hostel.avtf.net> >Number: 122153 >Category: kern >Synopsis: Re: random st_birthtime >Confidential: no >Severity: serious >Priority: medium >Responsible: linimon >State: closed >Quarter: >Keywords: >Date-Required: >Class: sw-bug >Submitter-Id: current-users >Arrival-Date: Thu Mar 27 11:40:00 UTC 2008 >Closed-Date: Thu Mar 27 16:04:07 UTC 2008 >Last-Modified: Thu Mar 27 16:04:07 UTC 2008 >Originator: >Release: >Organization: >Environment: >Description: On Mon, 24 Mar 2008, Vadim Goncharov wrote: > On Fri, 21 Mar 2008 13:44:43 +1100 (EST); Bruce Evans wrote: >... >> msdosfs is the only file system which initializes unsupported birthtimes >> correctly. It sets va_birthtime.tv_sec to -1, which becomes (time_t)-1, >> which is the error value for a time_t though it is often misinterpreted > > But VFAT supports file creation time in on-disk directory format. Should > msdosfs be fixed to support them rather returning -1 ? Doesn't it already do this? Part of the fix for bogus setting of va_ctime in msdosfs was to use de_CTime to set va_birthtime iff de_CTime is available. de_CTime used to be used to set va_ctime. Bruce >How-To-Repeat: >Fix: >Release-Note: >Audit-Trail: State-Changed-From-To: open->closed State-Changed-By: linimon State-Changed-When: Thu Mar 27 16:03:38 UTC 2008 State-Changed-Why: I still don't know what PR this thread is a followup to. Responsible-Changed-From-To: gnats-admin->linimon Responsible-Changed-By: linimon Responsible-Changed-When: Thu Mar 27 16:03:38 UTC 2008 Responsible-Changed-Why: http://www.freebsd.org/cgi/query-pr.cgi?pr=122153 >Unformatted: