From owner-freebsd-hackers Mon Jun 4 17:17:10 2001 Delivered-To: freebsd-hackers@freebsd.org Received: from odin.unik.no (odin.unik.no [193.156.96.7]) by hub.freebsd.org (Postfix) with ESMTP id 9278737B403 for ; Mon, 4 Jun 2001 17:17:07 -0700 (PDT) (envelope-from andreasd@unik.no) Received: from r2d2.unik.no ([193.156.96.39]) by odin.unik.no with esmtp (Exim 3.16 #2) id 1574WK-0003Yl-00 for hackers@freebsd.org; Tue, 05 Jun 2001 02:16:28 +0200 Received: from andreasd by r2d2.unik.no with local (Exim 3.16 #3) id 1574Wq-000CbW-00 for hackers@freebsd.org; Tue, 05 Jun 2001 02:17:00 +0200 Date: Tue, 5 Jun 2001 02:17:00 +0200 From: "Andreas Dobloug; UiO; H98" To: hackers@freebsd.org Subject: Re: background_fsck rc.conf option Message-ID: <20010605021700.A48407@r2d2.unik.no> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline User-Agent: Mutt/1.2.5i Sender: owner-freebsd-hackers@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG ---- Index: etc/rc =================================================================== RCS file: /stl/src/FreeBSD/src/etc/rc,v retrieving revision 1.264 diff -u -r1.264 rc --- etc/rc 2001/05/13 20:43:30 1.264 +++ etc/rc 2001/05/21 00:19:25 @@ -184,9 +184,14 @@ case ${bootmode} in autoboot) echo 'Automatic boot in progress...' -# To restore old fsck behavior use: -# fsck -p - fsck -F -p + case ${background_fsck} in + [Yy][Ee][Ss]) + fsck -F -p [..] ---- This patch doesn't work on boxes with nfs/msdos mounts... I suggest adding "-t no,nfs,msdos,ntfs" to the parameter list. -- Andreas Dobloug To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-hackers" in the body of the message