From owner-freebsd-questions Sun Jun 2 7:21: 3 2002 Delivered-To: freebsd-questions@freebsd.org Received: from utility.clubscholarship.com (utility.clubscholarship.com [198.78.70.175]) by hub.freebsd.org (Postfix) with ESMTP id 3353A37B407 for ; Sun, 2 Jun 2002 07:21:00 -0700 (PDT) Received: from localhost (root@localhost) by utility.clubscholarship.com (8.11.6/8.11.6) with ESMTP id g52EF8571870; Sun, 2 Jun 2002 07:15:08 -0700 (PDT) (envelope-from root@utility.clubscholarship.com) Date: Sun, 2 Jun 2002 07:15:08 -0700 (PDT) From: Patrick Thomas To: Chris Fedde Cc: Subject: Re: use of fsck -y In-Reply-To: <200206020633.g526XnQW047284@fedde.littleton.co.us> Message-ID: <20020602071202.U18408-100000@utility.clubscholarship.com> MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG > > vnconfig /dev/vn0 /prisons/1a > mount /dev/vn0c /mnt/point > if [ $? != 0 ] > then > fsck -y /dev/vn0 > mount /dev/vn0c /mnt/point > if [ $? != 0 ] > then > echo Mount fails even after fsck. Better check this by hand > fi > fi > /mnt/point/apachectl start If I understand correctly, this does the fsck only if it comes up dirty ? But skips it if it comes up clean ? > BTW. softupdates might also give you some performance advantages > on peudo disk device filesystems. Will softupdates make fsck irrelevant ? That is, is it like journalling in the sense that I can cut the power and not lose anything ? Or do I still need to fsck after a crash ? thanks, PT To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message