LinuxQuestions.org
Latest LQ Deal: Latest LQ Deals
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, 06:51 PM   #1
Linux.tar.gz
Senior Member
 
Registered: Dec 2003
Location: Paris
Distribution: Slackware forever.
Posts: 2,466

Rep: Reputation: 95
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, 12:55 PM   #2
TobiSGD
Moderator
 
Registered: Dec 2009
Location: Germany
Distribution: Whatever fits the task best
Posts: 17,148
Blog Entries: 2

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

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

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

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


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

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

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