From owner-freebsd-questions@FreeBSD.ORG Wed Feb 16 22:40:43 2005 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5C31916A4CE for ; Wed, 16 Feb 2005 22:40:43 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.198]) by mx1.FreeBSD.org (Postfix) with ESMTP id 0278043D1D for ; Wed, 16 Feb 2005 22:40:43 +0000 (GMT) (envelope-from cyberdog3k@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so196071rng for ; Wed, 16 Feb 2005 14:40:42 -0800 (PST) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:mime-version:content-type:content-transfer-encoding; b=aHUMbaXRs4hDEctDGDxSZbHbM8tvIma7ti+8PYK0V+7sb51vIN+8TUSGBdS5HcCBlzUW8mzdBSXoWB32f8UWR4ESxJ3df03DX5lAgAjFHnNlBdab1OkQOL6SDootO40r47EnSqOyzKiWFNAtFd94HzwL7MYzhmDSonYlMqtPkRU= Received: by 10.38.125.59 with SMTP id x59mr125130rnc; Wed, 16 Feb 2005 14:40:42 -0800 (PST) Received: by 10.38.73.71 with HTTP; Wed, 16 Feb 2005 14:40:42 -0800 (PST) Message-ID: Date: Wed, 16 Feb 2005 17:40:42 -0500 From: Matt LaPlante To: freebsd-questions@freebsd.org Mime-Version: 1.0 Content-Type: text/plain; charset=US-ASCII Content-Transfer-Encoding: 7bit Subject: FSCK on Reboot X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: Matt LaPlante List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 16 Feb 2005 22:40:43 -0000 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?