LinuxQuestions.org
Did you know LQ has a Linux Hardware Compatibility List?
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - General
User Name
Password
Linux - General This Linux forum is for general Linux questions and discussion.
If it is Linux Related and doesn't seem to fit in any other forum then this is the place.

Notices

Reply
 
Search this Thread
Old 02-18-2004, 09:42 AM   #1
BxBoy
Member
 
Registered: Oct 2002
Location: New York City (nYc)
Distribution: Red Hat Enterprise 3
Posts: 93

Rep: Reputation: 15
schedule 'e2fsck' to run on startup, possible?


Is it possible to schedule e2fsck to run on startup? since when i try to run it, it says it's dangerous to run it on an actively mounted partition.
 
Old 02-18-2004, 12:15 PM   #2
michaelk
Moderator
 
Registered: Aug 2002
Posts: 11,901

Rep: Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746Reputation: 746
Yes and your system should be already configured.

Look at the last value in the /etc/fstab file entry.
An example
/dev/hda / ext3 defaults 1 1

Look at the last digit. Anything >0 will perform a check according to how the filesystem was setup. The value is based on priority with 1 being the highest. See man pages for fstab for more help.

You can change how often using the tune2fs command.

http://www.die.net/doc/linux/man/man8/tune2fs.8.html
 
  


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 On
HTML code is Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
How to schedule startup time wolfipa Linux - General 4 09-01-2006 10:55 PM
e2fsck startup problem abattoir Mandriva 2 09-25-2005 09:00 AM
Schedule a Script to Run nutthick Linux - Newbie 8 02-02-2005 12:37 PM
schedule job to be run at 8:00pm every night ashley75 Linux - General 22 10-24-2003 12:44 PM
how do i schedule events to run daily. ThaddNZ2003 Linux - General 2 03-10-2003 10:59 AM


All times are GMT -5. The time now is 02:00 PM.

Main Menu
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
identi.ca: @linuxquestions
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration