From owner-freebsd-questions@FreeBSD.ORG Sun Apr 25 17:27:22 2004 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 96C9716A4CE for ; Sun, 25 Apr 2004 17:27:22 -0700 (PDT) Received: from out2.smtp.messagingengine.com (out2.smtp.messagingengine.com [66.111.4.26]) by mx1.FreeBSD.org (Postfix) with ESMTP id 5178843D45 for ; Sun, 25 Apr 2004 17:27:22 -0700 (PDT) (envelope-from andy_park@nospammail.net) X-Sasl-enc: 0VHn3dzbN1A0rg5hLdkGoQ 1082939091 Received: from [192.168.10.101] (client-82-3-247-248.glfd.adsl.virgin.net [82.3.247.248]) by mail.messagingengine.com (Postfix) with ESMTP id A0D06AA1C67 for ; Sun, 25 Apr 2004 20:24:50 -0400 (EDT) Mime-Version: 1.0 (Apple Message framework v613) Content-Transfer-Encoding: 7bit Message-Id: <3C73D6BD-9718-11D8-931D-000393A4799C@nospammail.net> Content-Type: text/plain; charset=US-ASCII; format=flowed To: freebsd-questions@FreeBSD.ORG From: andy_park@nospammail.net Date: Mon, 26 Apr 2004 01:25:35 +0100 X-Mailer: Apple Mail (2.613) Subject: Auto-mounting ext2 slices X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 26 Apr 2004 00:27:22 -0000 Hi, I have recently installed FreeBSD 4.9 on my fileserver to replace RH9, and have put my ext2 slice in /etc/fstab so they mount on bootup. The entry on /etc/fstab is as follows: /dev/ad1s5 /mnt/data2 ext2fs rw 0 2 However I recently experienced a blackout, and on the next boot, ext2 slice, marked 'dirty', wasn't fsck'ed automatically, preventing the normal boot process from finishing. Is this normal behaviour? If so, how would one set up an ext2 slice to auto-mount on bootup, and fsck itself if marked dirty so it continues to mount as rw?