Date: Wed, 16 Feb 2005 15:21:06 -0800 From: Kris Kennaway <kris@obsecurity.org> To: Matt LaPlante <cyberdog3k@gmail.com> Cc: freebsd-questions@freebsd.org Subject: Re: FSCK on Reboot Message-ID: <20050216232106.GA36167@xor.obsecurity.org> In-Reply-To: <cbb8f04c05021614406125af8d@mail.gmail.com> References: <cbb8f04c05021614406125af8d@mail.gmail.com>
next in thread | previous in thread | raw e-mail | index | archive | help
--nFreZHaLTZJo0R7j Content-Type: text/plain; charset=us-ascii Content-Disposition: inline On Wed, Feb 16, 2005 at 05:40:42PM -0500, Matt LaPlante wrote: > Right now I've got a server running FreeBSD 4.11. My question is, is > there a way to automatically run fsck on a system reboot, without > having to go through the process of sitting at the computer, changing > the run level, etc, etc. Clearly it's beneficial in a work environment > to be able to wait till night hours to run such operations, but I > personally have no desire to hang around the office until midnight > just to run a file system check. I know on any Windows machine this > is easily accomplished by running chkdsk and answering "y" when it > prompts if you want the system checked on the next reboot...you can go > home, wait till midnight, and reboot the system, it will automatically > check itself and come back online. Can this be accomplished in > FreeBSD? fsck will be run at boot time if the system needs to run it (i.e. unclean shutdown). See the rc.conf manpage for relevant options for rc.conf. Unlike Windows, you don't need to run fsck regularly as a regular maintenance measure. Kris --nFreZHaLTZJo0R7j Content-Type: application/pgp-signature Content-Disposition: inline -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.4.0 (FreeBSD) iD8DBQFCE9ViWry0BWjoQKURAic2AJ49/Md5D42RCFlticzaZj7gv8Xq9ACgpCIm lmBxjvdWKGpS3fjiYrjK+Qw= =3qx0 -----END PGP SIGNATURE----- --nFreZHaLTZJo0R7j--
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20050216232106.GA36167>