From owner-freebsd-questions Thu Jan 31 7:34: 6 2002 Delivered-To: freebsd-questions@freebsd.org Received: from freebsd.dk (fw-rl0.freebsd.dk [212.242.86.114]) by hub.freebsd.org (Postfix) with ESMTP id 7F96637B405; Thu, 31 Jan 2002 07:34:00 -0800 (PST) Received: (from sos@localhost) by freebsd.dk (8.11.6/8.11.6) id g0VFXsj57794; Thu, 31 Jan 2002 16:33:54 +0100 (CET) (envelope-from sos) From: Søren Schmidt Message-Id: <200201311533.g0VFXsj57794@freebsd.dk> Subject: Re: Again Softupdates on 4.5 In-Reply-To: <5.1.0.14.0.20020131155013.01c870c8@mail.drwilco.net> To: "Rogier R. Mulhuijzen" Date: Thu, 31 Jan 2002 16:33:54 +0100 (CET) Cc: freebsd-questions@FreeBSD.ORG, freebsd-hackers@FreeBSD.ORG Reply-To: sos@freebsd.dk X-Mailer: ELM [version 2.4ME+ PL94b (25)] MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Content-Type: text/plain; charset=ISO-8859-1 Sender: owner-freebsd-questions@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.ORG It seems Rogier R. Mulhuijzen wrote: > > >It sounds as if the default five seconds isn't always enough time for > >your disk to do its job. (I've only done poweroff on an idle system so > >I haven't run into such a problem myself.) > > > >I don't see it would hurt anything for this default to be increased to > >help out this problem. But what value would be good? > > Wouldn't the Right Thing (tm) be to ask the controllers/disk whether or not > their caches are clean? Assuming such a thing is even possible. The proper thing is to flush the cache's on shutdown, the way it is now all ATA disks are flushed on device close, problem is we newer close the / device, which I found out some time after I did the flush code, bit newer got around to fixing.. -Søren To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-questions" in the body of the message