LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Home Forums Tutorials Articles Register
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Software > Linux - Kernel
User Name
Password
Linux - Kernel This forum is for all discussion relating to the Linux kernel.

Notices


Reply
  Search this Thread
Old 02-01-2007, 04:11 AM   #1
Connor.Xu
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Rep: Reputation: 0
How a system detects the last unnormal shutdown?


The linux system can auto detect whether a fs was unmounted before the previous shutdown,then it determines if it is necessary to fsck the fs.
How a system detects the fs(eg:/dev/hda1) was broken down unnormally?
 
Old 02-01-2007, 05:17 AM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,415
Blog Entries: 55

Rep: Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600Reputation: 3600
The "dirty" flag not being reset, as in "tune2fs -l /dev/hda1| grep F.*state:"?
 
Old 02-01-2007, 08:22 PM   #3
Connor.Xu
LQ Newbie
 
Registered: Nov 2006
Posts: 10

Original Poster
Rep: Reputation: 0
O,Thanks your responding.
 
  


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
Automatic system shutdown chobin SUSE / openSUSE 2 06-05-2006 08:51 AM
System shutdown on its own.........? M$ISBS Linux - Security 3 05-14-2006 09:56 PM
Why can't my system shutdown? naihe2010 Linux - Software 1 11-27-2005 04:50 PM
System Halting while shutdown system. LiloAma Linux - Software 15 01-02-2005 08:30 PM
System Halting while shutdown LiloAma Linux - Hardware 5 12-23-2004 01:49 PM

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

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