[3965] in RedHat Linux List

home help back first fref pref prev next nref lref last post

Re: [Q] fsck at every boot?

daemon@ATHENA.MIT.EDU (Peter Moulder)
Mon Nov 11 20:39:10 1996

Date: Tue, 12 Nov 1996 12:34:34 +1100
From: Peter Moulder <reiter@netspace.net.au>
To: redhat-list@redhat.com
In-reply-to: "Dr.W.Tych"'s message of Mon, 11 Nov 1996 16:33:54 +0000
Resent-From: redhat-list@redhat.com
Reply-To: redhat-list@redhat.com

Take a look in /etc/rc.d/rc.sysinit .
Search for fsck.
Add a `-f' flag.
E.g.: was:
 fsck -V /
 fsck -R -A -V -a
change to:
 fsck -V -f /
 fsck -R -A -V -a -f
(I would get rid of the `-a' myself.  `-a' makes repairs without
asking.)


Question: Why do you want to do this, anyway?

If you just want to do it once, execute `e2fsck -f /dev/xxxx'.

pjm.


--
  PLEASE read the Red Hat FAQ, Tips, Errata and the MAILING LIST ARCHIVES!
  ________________________________________________________________________
  http://www.redhat.com/RedHat-FAQ   http://www.redhat.com/RedHat-Errata
  http://www.redhat.com/RedHat-Tips  http://www.redhat.com/mailing-lists
  ------------------------------------------------------------------------
To unsubscribe: mail -s unsubscribe redhat-list-request@redhat.com < /dev/null


home help back first fref pref prev next nref lref last post