Date: Fri, 22 Oct 2004 12:05:40 -0400 (EDT) From: Mikhail Teterin <mi@aldan.algebra.com> To: FreeBSD-gnats-submit@FreeBSD.org Subject: conf/73008: `fsck -y' tortures clean disks needlessly Message-ID: <200410221605.i9MG5eeO000774@250-217.customer.cloud9.net> Resent-Message-ID: <200410221610.i9MGALGv059892@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
>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:
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200410221605.i9MG5eeO000774>