Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 5 Jun 2001 02:17:00 +0200
From:      "Andreas Dobloug; UiO; H98" <andreasd@unik.no>
To:        hackers@freebsd.org
Subject:   Re: background_fsck rc.conf option
Message-ID:  <20010605021700.A48407@r2d2.unik.no>

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

--<cut here>--
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
[..]
--<cut here>--

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




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