From owner-freebsd-current@FreeBSD.ORG Wed Dec 27 16:42:09 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 0D6E216A407 for ; Wed, 27 Dec 2006 16:42:09 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: from ug-out-1314.google.com (ug-out-1314.google.com [66.249.92.170]) by mx1.freebsd.org (Postfix) with ESMTP id 9B59613C47E for ; Wed, 27 Dec 2006 16:42:08 +0000 (UTC) (envelope-from uspoerlein@gmail.com) Received: by ug-out-1314.google.com with SMTP id o2so3403175uge for ; Wed, 27 Dec 2006 08:42:07 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=QHSerQTL9/yS9JXH9dTFXFXSYTz28rrk6FYAwXasMQmFJsLkv9TdORjblqisiU/SyLsALgOWdnu2+5oAzd0ZP4hYk5ndElFFd2kfV0/JaU2n7hpula0s6Xju6QttxSKF17s6YtUcysfjm1bWnhmoGcMmCAhEA0GuDhHqsB4SljM= Received: by 10.78.203.13 with SMTP id a13mr1406584hug.1167235847077; Wed, 27 Dec 2006 08:10:47 -0800 (PST) Received: by 10.78.140.12 with HTTP; Wed, 27 Dec 2006 08:10:47 -0800 (PST) Message-ID: <7ad7ddd90612270810o6ebaf8c8mdbade512c1eb096f@mail.gmail.com> Date: Wed, 27 Dec 2006 17:10:47 +0100 From: "Ulrich Spoerlein" To: freebsd-current@freebsd.org, uspoerlein@gmail.com In-Reply-To: <200612271545.kBRFjeCe007920@lurza.secnetix.de> MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit Content-Disposition: inline References: <7ad7ddd90612270640t182a37ddo61880d8befc452e1@mail.gmail.com> <200612271545.kBRFjeCe007920@lurza.secnetix.de> 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 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:42:09 -0000 On 12/27/06, Oliver Fromme wrote: > 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. ;-) Ah, sorry for not testing this on current (I used RELENG_6). Changeing each filesystem code to do this is somewhat ugly. Though I don't think that we will grow significantly more statfs fields over time, the syscall should probably first bzero() the struct and let the fs-specific code fill in the/some blanks. Uli