From owner-freebsd-bugs@FreeBSD.ORG Fri Oct 22 16:10:22 2004 Return-Path: Delivered-To: freebsd-bugs@hub.freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 231A616A4CE for ; Fri, 22 Oct 2004 16:10:22 +0000 (GMT) Received: from freefall.freebsd.org (freefall.freebsd.org [216.136.204.21]) by mx1.FreeBSD.org (Postfix) with ESMTP id E943143D2D for ; Fri, 22 Oct 2004 16:10:21 +0000 (GMT) (envelope-from gnats@FreeBSD.org) Received: from freefall.freebsd.org (gnats@localhost [127.0.0.1]) by freefall.freebsd.org (8.12.11/8.12.11) with ESMTP id i9MGAL8Z059893 for ; Fri, 22 Oct 2004 16:10:21 GMT (envelope-from gnats@freefall.freebsd.org) Received: (from gnats@localhost) by freefall.freebsd.org (8.12.11/8.12.11/Submit) id i9MGALGv059892; Fri, 22 Oct 2004 16:10:21 GMT (envelope-from gnats) Resent-Date: Fri, 22 Oct 2004 16:10:21 GMT Resent-Message-Id: <200410221610.i9MGALGv059892@freefall.freebsd.org> Resent-From: FreeBSD-gnats-submit@FreeBSD.org (GNATS Filer) Resent-To: freebsd-bugs@FreeBSD.org Resent-Reply-To: FreeBSD-gnats-submit@FreeBSD.org, Mikhail Teterin Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8334616A4CE for ; Fri, 22 Oct 2004 16:05:52 +0000 (GMT) Received: from corbulon.video-collage.com (aldan.algebra.com [216.254.65.224]) by mx1.FreeBSD.org (Postfix) with ESMTP id 19A0943D1D for ; Fri, 22 Oct 2004 16:05:52 +0000 (GMT) (envelope-from root@250-217.customer.cloud9.net) Received: from 250-217.customer.cloud9.net (195-11.customer.cloud9.net [168.100.195.11])i9MG5mpB043846 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 22 Oct 2004 12:05:49 -0400 (EDT) (envelope-from root@250-217.customer.cloud9.net) Received: from 250-217.customer.cloud9.net (smmsp@localhost [127.0.0.1]) i9MG5eq6000775 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=NO) for ; Fri, 22 Oct 2004 12:05:40 -0400 (EDT) (envelope-from root@250-217.customer.cloud9.net) Received: (from root@localhost)i9MG5eeO000774; Fri, 22 Oct 2004 12:05:40 -0400 (EDT) (envelope-from root) Message-Id: <200410221605.i9MG5eeO000774@250-217.customer.cloud9.net> Date: Fri, 22 Oct 2004 12:05:40 -0400 (EDT) From: Mikhail Teterin To: FreeBSD-gnats-submit@FreeBSD.org X-Send-Pr-Version: 3.113 Subject: conf/73008: `fsck -y' tortures clean disks needlessly X-BeenThere: freebsd-bugs@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: Bug reports List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Fri, 22 Oct 2004 16:10:22 -0000 >Number: 73008 >Category: conf >Synopsis: `fsck -y' tortures clean disks needlessly >Confidential: no >Severity: non-critical >Priority: medium >Responsible: freebsd-bugs >State: open >Quarter: >Keywords: >Date-Required: >Class: change-request >Submitter-Id: current-users >Arrival-Date: Fri Oct 22 16:10:21 GMT 2004 >Closed-Date: >Last-Modified: >Originator: Mikhail Teterin >Release: FreeBSD 6.0-CURRENT i386 >Organization: Virtual Estates, Inc. >Environment: System: FreeBSD mi 6.0-CURRENT FreeBSD 6.0-CURRENT #1: Wed Oct 20 12:08:24 EDT 2004 mteterin@mi:/meow/obj/misha/src/sys/Gigabyte i386 >Description: Should the 'file system preen fail' and the fsck_y_enable be set to "YES", the /etc/rc.d/fsck will try `fsck -y'. This means, that even the now clean filesystems will be re-checked, sometimes adding many minutes to the start-up time. >How-To-Repeat: >Fix: Index: fsck =================================================================== RCS file: /meow/ncvs/src/etc/rc.d/fsck,v retrieving revision 1.10 diff -U2 -r1.10 fsck --- src/etc/rc.d/fsck 7 Oct 2004 13:55:25 -0000 1.10 +++ src/etc/rc.d/fsck 22 Oct 2004 15:59:39 -0000 @@ -58,5 +58,5 @@ if checkyesno fsck_y_enable; then echo "File system preen failed, trying fsck -y." - fsck -y + fsck -yp case $? in 0) >Release-Note: >Audit-Trail: >Unformatted: