svlug-automating_fsck_repairs

This is part of The Pile, a partial archive of some open source mailing lists and newsgroups.



Date: Sat, 19 Jan 2002 06:58:10 -0600 (CST)
From: Jay Link <jlink@ilbbs.com>
To: "Justin F. Knotzke" <shampoo@cam.org>
Subject: Re: [svlug] fsck


> 	Assuming the user will pull out the power cord from time to time, is
> there a way to setup Linux so that it never has to perform a manual
> fsck?

Rather than using ext3, I think the "quick" answer he wanted was to use
something like this:

  /sbin/fsck -a -t ext2 /dev/<drive>

where fsck -a requires no manual y/n confirmation. If that runs everytime
he boots (replacing any existing fsck commands), and assuming there's no
major problems with the filesystem, he'll be ok.

Note that fsck -a  maps to  e2fsck -p

===
Date: Sat, 19 Jan 2002 08:29:47 -0800
From: Don Marti <dmarti@zgp.org>
To: Svlug <svlug@svlug.org>
Subject: Re: [svlug] fsck

begin Jay Link quotation of Sat, Jan 19, 2002 at 06:58:10AM -0600:

>   /sbin/fsck -a -t ext2 /dev/<drive>

And of course mount everything you can as read-only.

===


the rest of The Pile (a partial mailing list archive)

doom@kzsu.stanford.edu