From owner-freebsd-questions@FreeBSD.ORG Tue Nov 8 21:34:08 2005 Return-Path: X-Original-To: freebsd-questions@freebsd.org 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 E04CC16A41F for ; Tue, 8 Nov 2005 21:34:08 +0000 (GMT) (envelope-from user@dhp.com) Received: from shell.dhp.com (shell.dhp.com [199.245.105.1]) by mx1.FreeBSD.org (Postfix) with ESMTP id C898C43D68 for ; Tue, 8 Nov 2005 21:34:05 +0000 (GMT) (envelope-from user@dhp.com) Received: by shell.dhp.com (Postfix, from userid 896) id 8AC9931334; Tue, 8 Nov 2005 16:34:04 -0500 (EST) Date: Tue, 8 Nov 2005 16:34:04 -0500 (EST) From: user To: freebsd-questions@freebsd.org Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Subject: how do I tell FreeBSD to sync, for real ? X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 08 Nov 2005 21:34:09 -0000 Sometimes you delete a large batch of files, or you do some other serious FS operations and the output of `df` does not tell you immediately of the new disk space, etc. If you run something like: sync Or even: sync ; sync it still doesn't show up. You either have to wait for a while, or you have to get silly with something like: sync ; sync ; sync ; sync ; sync ; sync ; sync (or unmount and remount the FS) ----- So my question is, well first off, why does this happen this way ? But mostly what I want to know is, is there a more graceful way to tell FreeBSD "sync for real this time, not just for joke only ?" Basically, is there a nicer way to get what I want than: sync ; sync ; sync ; sync ; sync ; sync ; sync thx.