LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 01-08-2007, 06:44 AM   #1
zghh
LQ Newbie
 
Registered: Dec 2006
Posts: 19

Rep: Reputation: 0
ext3 check


Hi everyone,

I read the ext3 filesystem do a check during the boot every 6 months, is this check completely automatic and doesn't ask anything to the user ?

I'm setting a linux pc for mail and internet for a person who is not familiar to computer, so it would be better to have something that will work alone and not ask complicated question (do you want to repare this inode ?...)




Thanks for any information

Last edited by zghh; 01-08-2007 at 07:23 AM.
 
Old 01-08-2007, 07:33 AM   #2
jonnycando
Member
 
Registered: Nov 2006
Location: Virginia
Distribution: OpenSuSE 10.2
Posts: 121

Rep: Reputation: 15
That is my understanding. fsck will also check at boot time if for any reason a disc was flagged "dirty"
 
Old 01-08-2007, 07:53 AM   #3
zghh
LQ Newbie
 
Registered: Dec 2006
Posts: 19

Original Poster
Rep: Reputation: 0
I believe there is an option in e2fsck to assume yes to every questions he may ask

Last edited by zghh; 01-08-2007 at 07:56 AM.
 
Old 01-08-2007, 08:00 AM   #4
zghh
LQ Newbie
 
Registered: Dec 2006
Posts: 19

Original Poster
Rep: Reputation: 0
Here is the usefull options of e2fsck
-n
Open the filesystem read-only, and assume an answer of `no' to all questions. Allows e2fsck to be used non-interactively. (Note: if the -c, -l, or -L options are specified in addition to the -n option, then the filesystem will be opened read-write, to permit the bad-blocks list to be updated. However, no other changes will be made to the filesystem.) This option may not be specified at the same time as the -p or -y options.

-p
Automatically repair ("preen") the file system. This option will case e2fsck to automatically fix any filesystem problems that can be safely fixed without human intervention. If e2fsck discovers a problem which may require the system administrator to take additional corrective action, e2fsck will print a description of the problem and then exit with the value 4 logically or'ed into the exit code. (See the EXIT CODE section.) This option is normally used by the system's boot scripts. It may not be specified at the same time as the -n or -y options.

-y
Assume an answer of `yes' to all questions; allows e2fsck to be used non-interactively. This option may not be specified at the same time as the -n or -p options.

Last edited by zghh; 01-08-2007 at 08:23 AM.
 
  


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
FC6 - ext3 disk check Thoddy Fedora 2 10-26-2006 04:22 AM
Ext3 & tune2fs tweaking question for ext3 experts wrc1944 Linux - General 8 12-11-2005 07:45 AM
Kernel Panic with Ext2/Ext3 partition check kewlemer Linux - General 3 04-06-2005 07:49 PM
how to convert ext3 to ntfs? cannot even see ext3 partition parv Linux - Hardware 1 12-31-2004 02:56 PM
Boot disk; check. CD in drive; check. Doesn't work; check. Hal DamnSmallLinux 7 02-04-2004 02:10 AM

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

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