[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [MiNT] symlinks and hostfs



Hello!

The mintlib use the Fstat64() kernel call if available (starting from
FreeMiNT 1.15.4)

HostFS implements Fstat64 but AFAIK it's currently disabled because of
the UTC timestamp conversion issue that I've been explaining in this and
other threads several times already.

No, Fstat64() is a system call. It can't be implemented by an xfs, it's implemented by the kernel. The stat64() call inside the xfs interface is something different.

If the xfs don't support stat64() the kernel emulate it: see xfs_stat64() at:

http://sparemint.org/cgi-bin/cvsweb/freemint/sys/xfs_xdd.c?rev=1.3&content-type=text/x-cvsweb-markup

That means Fstat64() is present since 1.15.4 and work for *every* file on *every* filesystem.

And the mintlib use Fstat64() if available.


Regards,
Frank

--
ATARI FALCON 060 // MILAN 060
-----------------------------
http://sparemint.org/
e-Mail: fnaumann@boerde.de