Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 4 Jun 2004 15:22:32 -0700
From:      Brooks Davis <brooks@one-eyed-alien.net>
To:        "J.D. Bronson" <jbronson@wixb.com>
Cc:        freebsd-questions@freebsd.org
Subject:   Re: more on fsck with securelevel
Message-ID:  <20040604222232.GB25234@Odin.AC.HMC.Edu>
In-Reply-To: <6.1.1.1.2.20040604170255.00bf3b38@cheyenne.wixb.com>
References:  <6.1.1.1.2.20040604170255.00bf3b38@cheyenne.wixb.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--eJnRUKwClWJh1Khz
Content-Type: text/plain; charset=us-ascii
Content-Disposition: inline
Content-Transfer-Encoding: quoted-printable

On Fri, Jun 04, 2004 at 05:05:34PM -0500, J.D. Bronson wrote:
> I did set this in /etc/rc.conf:
> fsck_y_enable=3D"YES"
>=20
> But I was wondering if this might be a good idea too:
> (looking at the defaults)
>=20
> fsck_y_enable=3D"NO"      # Set to YES to do fsck -y if the initial preen=
=20
> fails.
> background_fsck=3D"YES"   # Attempt to run fsck in the background where=
=20
> possible.
> background_fsck_delay=3D"60" # Time to wait (seconds) before starting the=
=20
> fsck.
>=20
> ..might it not be prudent to set 'background_fsck=3D"NO"' when running in=
=20
> secure mode?
>=20
> Eventhough I shut down carefully, sometimes it still feels the need to ru=
n=20
> fsck (even with soft updates)...but when running securelevel, is it=20
> actually going to accomplish anything?

I think just setting background_fsck_delay=3D0 may allow bgfsck to work.
Once fsck has opened the FS, I think it should keep it open and writes
should work.  I'm not 100% sure of that though.

-- Brooks

--=20
Any statement of the form "X is the one, true Y" is FALSE.
PGP fingerprint 655D 519C 26A7 82E7 2529  9BF0 5D8E 8BE9 F238 1AD4

--eJnRUKwClWJh1Khz
Content-Type: application/pgp-signature
Content-Disposition: inline

-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.1 (GNU/Linux)

iD8DBQFAwPYnXY6L6fI4GtQRAt16AKC5TTVlz+oklnD4Mk2YIKe5b2T4wgCgsuZY
Nf08dEIFqZfEwTlI/y/uwjI=
=WFkV
-----END PGP SIGNATURE-----

--eJnRUKwClWJh1Khz--



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