LinuxQuestions.org
Register a domain and help support LQ
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 05-20-2011, 02:17 PM   #1
chh_2009
LQ Newbie
 
Registered: May 2011
Posts: 4

Rep: Reputation: Disabled
Fat32 time issue


I was created one folder in linux with current time was 1978(For example). I was moved this folder to usb(FAT32 file format).While seeing this folder in window its not showing the folder time created time stamp, because the USB file system only support the year after 1980 .
But again i am putting the same folder in linux ,its showing the correct time stamp. How is it possible?
Because FAT32 only supports timestamp after 1980, but still its showing 1978 in linux system
 
Old 05-20-2011, 10:53 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,259

Rep: Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624
Welcome to LinuxQuestions.
I think it is just the difference between linux, windows and the FAT32 time stamp.

http://www.peterdonis.net/computers/...sarticle3.html
 
Old 05-20-2011, 11:46 PM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
The timestamp is stored as a number of seconds since a certain date. The interpretation of thidsnumber is up to the OS.

It's, by the way, new to me that FAT32 is based on 1980. Do you have a reference?
 
Old 05-21-2011, 07:31 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,259

Rep: Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624
Some more information.
http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx
 
Old 05-21-2011, 08:22 AM   #5
chh_2009
LQ Newbie
 
Registered: May 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Quote:
Originally Posted by Wim Sturkenboom View Post
The timestamp is stored as a number of seconds since a certain date. The interpretation of thidsnumber is up to the OS.

It's, by the way, new to me that FAT32 is based on 1980. Do you have a reference?
http://en.wikipedia.org/wiki/File_Allocation_Table

Plz refer this link
 
Old 05-21-2011, 09:11 AM   #6
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Slackware 10.1/10.2/12, Ubuntu 12.04, Crunchbang Statler
Posts: 3,786

Rep: Reputation: 282Reputation: 282Reputation: 282
Thanks. I see I was totally wrong
 
Old 05-21-2011, 09:36 AM   #7
michaelk
Moderator
 
Registered: Aug 2002
Posts: 15,259

Rep: Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624Reputation: 1624
It may not be displayed in the windows file manager but it is displayed in the the cmd box if you look at the files via the dir command. The date is displayed as 1/1/1980. I actually created a file via linux as 1/1/1902. After plugging it into the windows computer the date displayed was 1980 and then plugging back into the linux PC it was 12/31/1979. The difference between windows and linux and the vfat module.
 
Old 05-21-2011, 04:21 PM   #8
chh_2009
LQ Newbie
 
Registered: May 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Smile

thank you
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
Formating FAT32, but linux created FAT32 is not like win created FAT32?? Difference? boki15 Linux - Newbie 19 07-21-2010 05:41 AM
"Preserving time: operation not permitted" on fat32 on debian ac1980 Debian 10 01-15-2007 09:12 PM
Mounting issue fat32 danimalz Debian 5 10-12-2005 05:28 AM
time issue chrisknight Linux - Software 2 06-02-2004 07:44 PM
How to automount my C drive (FAT32) every time I login Redhat futurist Linux - General 2 03-17-2003 03:17 PM


All times are GMT -5. The time now is 08:36 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration