From owner-freebsd-stable@FreeBSD.ORG Tue Jan 4 13:01:25 2005 Return-Path: Delivered-To: freebsd-stable@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 85D1016A4CE for ; Tue, 4 Jan 2005 13:01:25 +0000 (GMT) Received: from lurza.secnetix.de (lurza.secnetix.de [83.120.8.8]) by mx1.FreeBSD.org (Postfix) with ESMTP id A3B2343D1D for ; Tue, 4 Jan 2005 13:01:24 +0000 (GMT) (envelope-from olli@lurza.secnetix.de) Received: from lurza.secnetix.de (gripyj@localhost [127.0.0.1]) by lurza.secnetix.de (8.12.11/8.12.11) with ESMTP id j04D1MTr021096 for ; Tue, 4 Jan 2005 14:01:22 +0100 (CET) (envelope-from oliver.fromme@secnetix.de) Received: (from olli@localhost) by lurza.secnetix.de (8.12.11/8.12.11/Submit) id j04D1MuU021095; Tue, 4 Jan 2005 14:01:22 +0100 (CET) (envelope-from olli) Date: Tue, 4 Jan 2005 14:01:22 +0100 (CET) Message-Id: <200501041301.j04D1MuU021095@lurza.secnetix.de> From: Oliver Fromme To: freebsd-stable@FreeBSD.ORG In-Reply-To: <41DA7D20.8000704@yahoo.com> X-Newsgroups: list.freebsd-stable User-Agent: tin/1.5.4-20000523 ("1959") (UNIX) (FreeBSD/4.10-RELEASE (i386)) MIME-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: 8bit Subject: Re: fsck: broken file system with background check remains broken after bootup X-BeenThere: freebsd-stable@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: freebsd-stable@FreeBSD.ORG List-Id: Production branch of FreeBSD source code List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 04 Jan 2005 13:01:25 -0000 Rob wrote: > [...] > However, the main user of this particular PC is not at all a guru; on 4.10 > I had rc.conf configured such that at bootup all filesystems would be > automatically fixed with: fsck_y_enable="YES". > With 4.10, this always worked nicely, whatever sudden power cut have happened. > > However, with 5.3, a recent powercut crippled the /usr filesystem such that > X11 hanged. The user of this PC was convinced that FreeBSD was infected by a > virus :(. I would strongly advise you to teach that user to properly shut down the machine instead of just pressing the power button, thus eliminating the real cause of the problem. (If you're suffering from frequent power outages, then a UPS should be installed.) By the way, you can map a key combination (Ctrl-Alt-Del or something else) to the »halt« or »power-down« functions, using kbdcontrol, so it's very easy and intuitive to shut down the machine properly. See the kbdmap(5) manpage for details. Apart from that, I suggest you simply disable background fsck. Best regards Oliver -- Oliver Fromme, secnetix GmbH & Co KG, Oettingenstr. 2, 80538 München Any opinions expressed in this message may be personal to the author and may not necessarily reflect the opinions of secnetix in any way. We're sysadmins. To us, data is a protocol-overhead.