conf/73008: `fsck -y' tortures clean disks needlessly
Mikhail Teterin
mi at aldan.algebra.com
Fri Oct 22 09:10:22 PDT 2004
>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 at 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:
More information about the freebsd-bugs
mailing list