Date: Tue, 22 Jul 2008 11:11:46 -0700 (PDT) From: Pedro Giffuni <pfgshield-freebsd@yahoo.com> To: Bruce Evans <brde@optusnet.com.au> Cc: freebsd-fs@FreeBSD.org Subject: Re: birthtime initialization Message-ID: <232373.60220.qm@web32706.mail.mud.yahoo.com> In-Reply-To: <20080723032929.F18594@delplex.bde.org>
next in thread | previous in thread | raw e-mail | index | archive | help
--- Mar 22/7/08, Bruce Evans <brde@optusnet.com.au> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?232373.60220.qm>