From owner-freebsd-bugs Sat Mar 16 22:20:15 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id AA2A437B416 for ; Sat, 16 Mar 2002 22:20:03 -0800 (PST) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g2H6K3H63655; Sat, 16 Mar 2002 22:20:03 -0800 (PST) (envelope-from gnats) Date: Sat, 16 Mar 2002 22:20:03 -0800 (PST) Message-Id: <200203170620.g2H6K3H63655@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: "Roy Hooper" Subject: Re: misc/35992: /etc/rc has no way to force fsck -y at next boot, corrupt filesystems with soft updates required manual intervention Reply-To: "Roy Hooper" Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/35992; it has been noted by GNATS. From: "Roy Hooper" To: "Crist J. Clark" Cc: Subject: Re: misc/35992: /etc/rc has no way to force fsck -y at next boot, corrupt filesystems with soft updates required manual intervention Date: Sun, 17 Mar 2002 01:17:29 -0500 fsck_y_enable="YES" might not trigger fsck-y at the next reboot as it relies on fsck -p to make it's decision. In my case, it wasn't triggering fsck -y ever at reboot beacuse it thought the filesystem was clean when it was not. Roy -- Roy Hooper Project Manager & Senior UNIX Consultant Decisive Technologies Inc. ----- Original Message ----- From: "Crist J. Clark" To: "Roy Hooper" Cc: Sent: Saturday, March 16, 2002 11:49 PM Subject: Re: misc/35992: /etc/rc has no way to force fsck -y at next boot, corrupt filesystems with soft updates required manual intervention > On Sat, Mar 16, 2002 at 05:57:48PM -0800, Roy Hooper wrote: > [snip] > > > >Fix: > > The solution was to force a fsck -y at boot time by modifying /etc/rc so that I could remotely reboot the machine. > > Adding the ability to touch a temporary file such as /force-fsck-y would be very useful for remote maintenance. > > I'm confused. What does, > > # touch /force-fsck-y > > Do for you that, > > # echo 'fsck_y_enable="YES"' >> /etc/rc.conf > > Doesn't? > -- > Crist J. Clark | cjclark@alum.mit.edu > | cjclark@jhu.edu > http://people.freebsd.org/~cjc/ | cjc@freebsd.org > To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message