From owner-freebsd-stable Thu Jun 17 8:37:54 1999 Delivered-To: freebsd-stable@freebsd.org Received: from dingo.cdrom.com (castles544.castles.com [208.214.165.108]) by hub.freebsd.org (Postfix) with ESMTP id 7637514F26 for ; Thu, 17 Jun 1999 08:37:51 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Received: from dingo.cdrom.com (LOCALHOST [127.0.0.1]) by dingo.cdrom.com (8.9.3/8.8.8) with ESMTP id IAA00353; Thu, 17 Jun 1999 08:34:43 -0700 (PDT) (envelope-from mike@dingo.cdrom.com) Message-Id: <199906171534.IAA00353@dingo.cdrom.com> X-Mailer: exmh version 2.0.2 2/24/98 To: "Chris D. Faulhaber" Cc: Stefan `Sec` Zehl , Dag-Erling Smorgrav , freebsd-stable@FreeBSD.ORG Subject: Re: / not properly unmounted ? In-reply-to: Your message of "Wed, 16 Jun 1999 22:43:32 EDT." Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Date: Thu, 17 Jun 1999 08:34:38 -0700 From: Mike Smith Sender: owner-freebsd-stable@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG > I added a sysctl variable (machdep.powerdown_delay) to allow the disk > cache to flush by itself before APM powering the system off. After > applying the attached patch (tested on 3.2-STABLE) and installing a new > kernel, just use 'sysctl -w machdep.powerdown_delay=5' for a 5 second > delay. > > I don't know if this is appropriate for actual inclusion into the > kernel...if so, I can see about merging it into -CURRENT and/or changing > to a more appropriate sysctl level (i.e. kern, hw). dingo:~>sysctl -a |grep delay kern.shutdown.poweroff_delay: 0 ... -- \\ The mind's the standard \\ Mike Smith \\ of the man. \\ msmith@freebsd.org \\ -- Joseph Merrick \\ msmith@cdrom.com To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-stable" in the body of the message