msdosfs and cd9660: stat(2) returns garbled birthtime

Ulrich Spoerlein uspoerlein at gmail.com
Wed Dec 27 08:42:09 PST 2006


On 12/27/06, Oliver Fromme <olli at lurza.secnetix.de> 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


More information about the freebsd-current mailing list