LinuxQuestions.org
Review your favorite Linux distribution.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software
User Name
Password
Linux - Software This forum is for Software issues.
Having a problem installing a new program? Want to know which application is best for the job? Post your question in this forum.

Notices


Reply
  Search this Thread
Old 03-13-2014, 09:59 PM   #1
ghborrmann
Member
 
Registered: May 2004
Location: Louisville KY
Distribution: Fedora 25
Posts: 32

Rep: Reputation: 0
Daylight Savings Time Option for Specific Filesystems?


My Linux system is set to use daylight savings time, and timestamps on files on my filesystems are correct throughout the year. However, I frequently have occasion to mount a flash card from a system which does not use daylight savings. Linux interprets the timestamps on that system as if it also used daylight savings time, which leads to inconsistent results for files on opposite sides of a daylight savings time transition. Is there any way to instruct Linux to ignore daylight saving time on that one filesystem?

Details: the flash card is a vfat system; my Linux is Fedora 20.
 
Old 03-14-2014, 12:41 AM   #2
evo2
LQ Guru
 
Registered: Jan 2009
Location: Japan
Distribution: Mostly Debian and CentOS
Posts: 6,724

Rep: Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705Reputation: 1705
Hi,

as far as I know this is not a filesystem issue but an OS issue. Your Fedora system knows about timezones and summer time, while presumably you've been using your flash card on a "dumb" system (a camera or something?) that only knows about "localtime".

Evo2.
 
Old 03-14-2014, 08:38 AM   #3
rknichols
Senior Member
 
Registered: Aug 2009
Distribution: Rocky Linux
Posts: 4,776

Rep: Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212Reputation: 2212
Closest thing I could find is to set up that other system to use UTC and mount that flash card with the "tz=UTC" option.
 
1 members found this post helpful.
Old 03-16-2014, 11:07 AM   #4
ghborrmann
Member
 
Registered: May 2004
Location: Louisville KY
Distribution: Fedora 25
Posts: 32

Original Poster
Rep: Reputation: 0
Daylight Savings Time Option for Specific Filesystems?

Thanks for your comments. I guess I'll just have to do it the hard way -- check each time stamp for DST, and modifiy it based on whether this differs from the current DST status.
 
  


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
Daylight Savings Time fatalerror0x00 Slackware 28 11-12-2012 09:20 AM
Daylight Savings time depdiver Linux - General 4 03-13-2006 01:30 PM
Daylight savings time depdiver Red Hat 2 02-21-2006 10:00 AM
Daylight savings time Jeebizz Slackware 13 11-21-2005 08:08 PM

LinuxQuestions.org > Forums > Linux Forums > Linux - Software

All times are GMT -5. The time now is 04:55 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
Open Source Consulting | Domain Registration