LinuxQuestions.org
Share your knowledge at the LQ Wiki.
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 02-27-2012, 05:51 PM   #1
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Rep: Reputation: 100Reputation: 100
Question How to make ext2 fsck time tolerant at boot ?


Hi !

I use Slackware.
When i have a root filesystem on a USB or SD card, if the hardware time is in the past it asks for a Control + D, then an long useless fsck and a reboot.
How to fix that ?
 
Old 02-28-2012, 11:55 AM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

Rep: Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886Reputation: 4886
The obvious thing would be to not set the hardware time in the past, I would think.
 
Old 02-28-2012, 12:55 PM   #3
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
^^ of course, but some devices have no batteries, then lose time when unplugged.
So it's a pain to restart.
 
Old 02-28-2012, 01:41 PM   #4
qrange
Senior Member
 
Registered: Jul 2006
Location: Belgrade, Yugoslavia
Distribution: Debian stable/testing, amd64
Posts: 1,061

Rep: Reputation: 47
perhaps you could run a script before fsck that sets time to future.
 
Old 03-06-2012, 07:55 PM   #5
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,534

Original Poster
Rep: Reputation: 100Reputation: 100
Can't know when the future is !!!
 
  


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
PC with /home crashed; how to do surface ext2/3 fsck at every single boot ? frenchn00b Linux - General 4 04-22-2008 10:15 PM
How do I keep a filesystem from being checked with fsck at boot time? ccmelton Linux - General 1 05-10-2006 11:32 AM
how to skip fsck at boot time? ItsNotMe SUSE / openSUSE 4 04-28-2005 05:31 AM
boot time NTFS errors on ext2 file system adrianmariano Linux - Hardware 2 01-14-2005 06:38 PM
A good boot-time FSCK script? BFG-rat Linux - Software 2 04-18-2004 06:54 AM

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

All times are GMT -5. The time now is 07:20 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