Re: [LIP] FAT File System creation time issue by changing timezone

Arun Sharma <[email protected]>
Newsgroups gmane.user-groups.linux.india.programmers
Message-ID <[email protected]>
On Fri, Nov 07, 2003 at 09:37:06AM +0530, Gurlal Brar wrote:
> Hi All,
>         I need creation time of File in UTC , but FAT returns the localtime.
> This is easy to convert localtime into UTC.
> Is there any API by  which i can know that the target file resides on which
> file system (FAT,EFS,NTFS etc). i need the apis for all operating systems
> i.e Linux,Windows,Solaris etc.

Traditionally, UNIX stores only the last modified time, not the file
creation time. So you may not be able to get the file creation time on
Linux. This may change with the introduction of extended file
attributes in 2.6.

	-Arun


-------------------------------------------------------
This SF.Net email sponsored by: ApacheCon 2003,
16-19 November in Las Vegas. Learn firsthand the latest
developments in Apache, PHP, Perl, XML, Java, MySQL,
WebDAV, and more! http://www.apachecon.com/
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.