Latest LQ Deal: Latest LQ Deals
Go Back > Forums > Linux Forums > Linux - General
User Name
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.


  Search this Thread
Old 10-15-2004, 07:22 PM   #1
Registered: Nov 2003
Location: SoCal, USA
Distribution: Mandriva 2006, CentOS 4.2
Posts: 36

Rep: Reputation: 15
Howto force fsck after dirty shutdown?

How can I have a Linux system force a filesystem check after an improper shutdown? My current distro merely prompts interactively, which doesn't help much if I'm not at the system when it goes down (i.e. power failure). Any pointers?


P.S. - I'm running an EXT3 filesystem on everything but my swap.

Last edited by anti_trend; 10-15-2004 at 07:33 PM.
Old 10-15-2004, 07:34 PM   #2
Senior Member
Registered: Oct 2003
Posts: 3,057

Rep: Reputation: 61
The file /etc/rc.d/rc.sysinit has a section of forcefsck options. You might take a look there.


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
Force filesystem check after improper shutdown? Phaethar Linux - General 6 04-23-2011 09:12 PM
Howto fsck my root fs? Sjonnie48 Mandriva 1 06-15-2005 05:47 AM
Force program shutdown iNFERiON Linux - Newbie 4 12-17-2003 01:07 PM
System shutdown uncleanly; fsck? mac_phil Linux - General 2 11-02-2003 02:18 AM
autofsck or force fsck after uncontrolled shutdown r00tnuke Red Hat 5 09-05-2003 10:20 AM > Forums > Linux Forums > Linux - General

All times are GMT -5. The time now is 09:45 PM.

Main Menu
Write for LQ is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration