LinuxQuestions.org
Help answer threads with 0 replies.
Home Forums Tutorials Articles Register
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, 01: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, 09:53 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,740

Rep: Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923
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, 10:46 PM   #3
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

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, 06:31 AM   #4
michaelk
Moderator
 
Registered: Aug 2002
Posts: 25,740

Rep: Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923
Some more information.
http://msdn.microsoft.com/en-us/libr...=vs.85%29.aspx
 
Old 05-21-2011, 07: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, 08:11 AM   #6
Wim Sturkenboom
Senior Member
 
Registered: Jan 2005
Location: Roodepoort, South Africa
Distribution: Ubuntu 12.04, Antix19.3
Posts: 3,794

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

Rep: Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923Reputation: 5923
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, 03:21 PM   #8
chh_2009
LQ Newbie
 
Registered: May 2011
Posts: 4

Original Poster
Rep: Reputation: Disabled
Smile

thank you
 
  


Reply



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 04:41 AM
"Preserving time: operation not permitted" on fat32 on debian ac1980 Debian 10 01-15-2007 08:12 PM
Mounting issue fat32 danimalz Debian 5 10-12-2005 04:28 AM
time issue chrisknight Linux - Software 2 06-02-2004 06:44 PM
How to automount my C drive (FAT32) every time I login Redhat futurist Linux - General 2 03-17-2003 02:17 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 12:49 AM.

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
Open Source Consulting | Domain Registration