From owner-freebsd-questions@FreeBSD.ORG Thu Jan 26 19:39:56 2006 Return-Path: X-Original-To: freebsd-questions@freebsd.org Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 28BC216A422 for ; Thu, 26 Jan 2006 19:39:56 +0000 (GMT) (envelope-from goodredhat@yahoo.com) Received: from web34013.mail.mud.yahoo.com (web34013.mail.mud.yahoo.com [66.163.178.94]) by mx1.FreeBSD.org (Postfix) with SMTP id 02B2543D5A for ; Thu, 26 Jan 2006 19:39:54 +0000 (GMT) (envelope-from goodredhat@yahoo.com) Received: (qmail 27989 invoked by uid 60001); 26 Jan 2006 19:39:54 -0000 DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=s1024; d=yahoo.com; h=Message-ID:Received:Date:From:Subject:To:MIME-Version:Content-Type:Content-Transfer-Encoding; b=oY+He0IX+47TEIEC65DX+phmtfBmVC4yPbGjZYbO34scb3c7nDfGBm6jqiE69rI2+W0stoOiQZWzPxBOqD02hzwnGLK39CiERZ6rXoUQDkjtahy9xNp2fRYoaAaRDRxsmY2HVzBqvCBaxXbMZ7hV8Gx+ClR7e5cuw6Wk9/bWH6Y= ; Message-ID: <20060126193954.27987.qmail@web34013.mail.mud.yahoo.com> Received: from [210.214.80.207] by web34013.mail.mud.yahoo.com via HTTP; Thu, 26 Jan 2006 11:39:54 PST Date: Thu, 26 Jan 2006 11:39:54 -0800 (PST) From: manish jain To: freebsd-questions@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit Subject: Problem with fsck X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 26 Jan 2006 19:39:56 -0000 Hi, I recently persuaded my organisation to shift our main server from Linux to FreeBSD 6.0. We are now facing a problem with fsck. After improper shutdown, we need fsck to run automatically and non-interactively in the foreground upon restart. Enabling background fsck lets the system come up but fails to properly start a few network services. With background fsck disabled, what would be the best way to automatically run 'fsck -fy' for each of the partitions upon restart after an improper shutdown ? Would it be okay to add the corresponding fsck lines somewhere at the top of /etc/rc ? Thanks for any help. Manish Jain goodredhat@yahoo.com __________________________________________________ Do You Yahoo!? Tired of spam? Yahoo! Mail has the best spam protection around http://mail.yahoo.com