From owner-freebsd-fs@FreeBSD.ORG Tue Jul 22 18:11:47 2008 Return-Path: Delivered-To: freebsd-fs@FreeBSD.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:4f8:fff6::34]) by hub.freebsd.org (Postfix) with ESMTP id 45324106566C for ; Tue, 22 Jul 2008 18:11:47 +0000 (UTC) (envelope-from pfgshield-freebsd@yahoo.com) Received: from web32706.mail.mud.yahoo.com (web32706.mail.mud.yahoo.com [68.142.207.250]) by mx1.freebsd.org (Postfix) with SMTP id ECB488FC16 for ; Tue, 22 Jul 2008 18:11:46 +0000 (UTC) (envelope-from pfgshield-freebsd@yahoo.com) Received: (qmail 60325 invoked by uid 60001); 22 Jul 2008 18:11:46 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Received:X-Mailer:Date:From:Reply-To:Subject:To:Cc:In-Reply-To:MIME-Version:Content-Type:Content-Transfer-Encoding:Message-ID; b=YAq6ORVr0cxzre+K1o3MDYxVy+qYacmEz+/F2yOLqgxd3vuAsUg03UFCStDc7XRh9c6UmIv/Nf/RRwjIvakqzklQ8NmuljBEWCXiA4w1Fvv47JyHL2sjNqBQkJ1A7t7RddJRQJjdotEYvHhtfXu9IlIvM6uspKsZfEdcrfBYa2g=; Received: from [190.156.49.247] by web32706.mail.mud.yahoo.com via HTTP; Tue, 22 Jul 2008 11:11:46 PDT X-Mailer: YahooMailWebService/0.7.218 Date: Tue, 22 Jul 2008 11:11:46 -0700 (PDT) From: Pedro Giffuni To: Bruce Evans In-Reply-To: <20080723032929.F18594@delplex.bde.org> MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Message-ID: <232373.60220.qm@web32706.mail.mud.yahoo.com> Cc: freebsd-fs@FreeBSD.org Subject: Re: birthtime initialization X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list Reply-To: pfgshield-freebsd@yahoo.com List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 22 Jul 2008 18:11:47 -0000 --- Mar 22/7/08, Bruce Evans ha scritto: ... >=20 > > Tim has some patches I made to add support for > birthtime in libarchive (only in extended pax format) as a > LIBARCHIVE.creationtime attribute. > > > > Since birthtime is set by modifying mtime twice with > utimes(2), the only criteria I used to determine if > birthtime should be stored is if it was less than mtime. I > hope something can be done to make that behavior consistent > with UFS2 in all other filesystems. >=20 > Can't it check for st_birthtime.tv_sec being !=3D 0 or > -1? =20 OK, I can do that, in fact I had it like that originally but then strictly = speaking those values are valid and I had to check for birthtime=3D=3Dmtime= anyways. Admittedly no BSD system was available before Jan 1st 1970 so I w= ill modify the check to avoid those times. Pedro.=0A=0A=0A Posta, news, sport, oroscopo: tutto in una sola pagina= . =0ACrea l'home page che piace a te!=0Awww.yahoo.it/latuapagina