Date: Sat, 16 Mar 2002 22:20:03 -0800 (PST) From: "Roy Hooper" <rhooper@toybox.ca> To: freebsd-bugs@FreeBSD.org Subject: Re: misc/35992: /etc/rc has no way to force fsck -y at next boot, corrupt filesystems with soft updates required manual intervention Message-ID: <200203170620.g2H6K3H63655@freefall.freebsd.org>
next in thread | raw e-mail | index | archive | help
The following reply was made to PR misc/35992; it has been noted by GNATS. From: "Roy Hooper" <rhooper@toybox.ca> To: "Crist J. Clark" <cjc@FreeBSD.ORG> Cc: <freebsd-gnats-submit@FreeBSD.ORG> 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" <cjc@FreeBSD.ORG> To: "Roy Hooper" <rhooper@toybox.ca> Cc: <freebsd-gnats-submit@FreeBSD.ORG> 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?200203170620.g2H6K3H63655>