Date: Wed, 27 Dec 2006 16:45:40 +0100 (CET) From: Oliver Fromme <olli@lurza.secnetix.de> To: freebsd-current@FreeBSD.ORG, uspoerlein@gmail.com Subject: Re: msdosfs and cd9660: stat(2) returns garbled birthtime Message-ID: <200612271545.kBRFjeCe007920@lurza.secnetix.de> In-Reply-To: <7ad7ddd90612270640t182a37ddo61880d8befc452e1@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200612271545.kBRFjeCe007920>