From owner-freebsd-current@FreeBSD.ORG Wed Dec 27 16:08:50 2006 Return-Path: X-Original-To: freebsd-current@FreeBSD.ORG Delivered-To: freebsd-current@FreeBSD.ORG Received: from mx1.freebsd.org (mx1.freebsd.org [69.147.83.52]) by hub.freebsd.org (Postfix) with ESMTP id 6CAF116A517 for ; Wed, 27 Dec 2006 16:08:50 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.freebsd.org (Postfix) with ESMTP id DBA7313C46E for ; Wed, 27 Dec 2006 16:08:49 +0000 (UTC) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (wvmzsx@localhost [127.0.0.1]) by lurza.secnetix.de (8.13.4/8.13.4) with ESMTP id kBRFjeLc007921; Wed, 27 Dec 2006 16:45:45 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.13.4/8.13.1/Submit) id kBRFjeCe007920; Wed, 27 Dec 2006 16:45:40 +0100 (CET) (envelope-from olli) Date: Wed, 27 Dec 2006 16:45:40 +0100 (CET) Message-Id: <200612271545.kBRFjeCe007920@lurza.secnetix.de> From: Oliver Fromme To: freebsd-current@FreeBSD.ORG, uspoerlein@gmail.com In-Reply-To: <7ad7ddd90612270640t182a37ddo61880d8befc452e1@mail.gmail.com> X-Newsgroups: list.freebsd-current User-Agent: tin/1.8.2-20060425 ("Shillay") (UNIX) (FreeBSD/4.11-STABLE (i386)) X-Greylist: Sender IP whitelisted, not delayed by milter-greylist-2.1.2 (lurza.secnetix.de [127.0.0.1]); Wed, 27 Dec 2006 16:45:46 +0100 (CET) Cc: Subject: Re: msdosfs and cd9660: stat(2) returns garbled birthtime X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: freebsd-current@FreeBSD.ORG, uspoerlein@gmail.com List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 27 Dec 2006 16:08:50 -0000 Ulrich Spoerlein wrote: > at least msdosfs and cd9660 do not fill the birthtime for the stat(2) > syscall. Thus stat(1) will return different values per call: > [...] > The code in cd9660_getattr() and msdosfs_getattr() should be > augmented. But what value to put into the field? Clearly, a constant > would be preferred instead of an uninitialized value. Please see PR kern/106018. It fixes the msdosfs case; it has already been committed a few weeks ago. I haven't looked at the cd9660 code, but if you see similar problems there, then I guess it needs a similar fix. ;-) Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co. KG, Marktplatz 29, 85567 Grafing Dienstleistungen mit Schwerpunkt FreeBSD: http://www.secnetix.de/bsd Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. "C++ is the only current language making COBOL look good." -- Bertrand Meyer