Subject: Re: fsck -y during reboot
To: None <current-users@netbsd.org>
From: Christos Zoulas <christos@zoulas.com>
List: current-users
Date: 10/20/2003 14:57:20
In article <20031019133224.GA12274@arresum.veego.de>,
Bernd Ernesti <netbsd@lists.veego.de> wrote:
>On Wed, Oct 15, 2003 at 05:55:56PM +0000, Christos Zoulas wrote:
>> In article <Pine.NEB.4.58.0310152021570.23693@p4.piuha.net>,
>> Martti Kuparinen <martti.kuparinen@iki.fi> wrote:
>> >Hi!
>> >
>> >Could we have something like this? It would be nice if I can force file
>> >system check on remote servers (=no access to the console) with
>> >
>> >fsck_y=YES
>> >
>> >in /etc/rc.conf. Comments?
>> >
>> >Feel free to substitute the variable name with something better...
>> 
>> I don't see the point in doing it in two passes. I committed a change
>> that will allow you to do what you want. Just set:
>
>Imho, fsck_flags needs to be added to etc/defaults/rc.conf and not in the rc.d
>script.

You mean set fsck_flags=-p in /etc/defaults/rc.conf?

christos