Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 28 Feb 2007 12:32:26 -0600
From:      Eric Anderson <anderson@freebsd.org>
To:        Jason Arnaute <non_secure@yahoo.com>
Cc:        freebsd-fs@freebsd.org
Subject:   Re: Looking for a graceful way to disable BG fsck ?
Message-ID:  <45E5CABA.8070105@freebsd.org>
In-Reply-To: <629647.7934.qm@web51004.mail.yahoo.com>
References:  <629647.7934.qm@web51004.mail.yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
On 02/28/07 10:18, Jason Arnaute wrote:
> --- Eric Anderson <anderson@freebsd.org> wrote:
> 
> 
>> How about setting something like this:
>> background_fsck_delay="864000"
>>
>> in /etc/rc.conf?  That would make bg fsck wait 10
>> days before running. 
>> That will still mount the disks rw though, which is
>> probably not what 
>> you really want.
> 
> 
> Thanks - this may be the most useful way to do this.
> 
> But you're right - it's not exactly what I want ...
> provided that the critical filesystems are already
> clean (all I have are /, /var, and (bulk_data)) I wish
> it would just come up and say:
> 
> "if they're clean, mount them and be happy.  If
> they're not, just _don't mount them_.  Just don't do
> anything.  You've got your / and /var, so just be
> happy and wait for someone to manually bring up
> (bulk_data)"
> 
> The reason this would work is that / and /var _always_
> get foreground fsck'd before the system can go
> multi-user anyway ... so they are always safe ...


You could work up a patch to the rc* stuff (plus maybe a few other 
tools) that would allow a new FSTAB_** define that means just that.


Eric



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?45E5CABA.8070105>