Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1759458AbZDAGfa (ORCPT ); Wed, 1 Apr 2009 02:35:30 -0400 Received: (majordomo@vger.kernel.org) by vger.kernel.org id S1756478AbZDAGfU (ORCPT ); Wed, 1 Apr 2009 02:35:20 -0400 Received: from gw.goop.org ([64.81.55.164]:58532 "EHLO mail.goop.org" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1750893AbZDAGfU (ORCPT ); Wed, 1 Apr 2009 02:35:20 -0400 Message-ID: <49D30B25.6060001@goop.org> Date: Tue, 31 Mar 2009 23:35:17 -0700 From: Jeremy Fitzhardinge User-Agent: Thunderbird 2.0.0.21 (X11/20090320) MIME-Version: 1.0 To: Bojan Smojver CC: linux-kernel@vger.kernel.org Subject: Re: Linux 2.6.29 References: <20090326171148.9bf8f1ec.akpm@linux-foundation.org> <20090326174704.cd36bf7b.akpm@linux-foundation.org> <20090327032301.GN6239@mit.edu> <20090327034705.GA16888@srcf.ucam.org> <20090327051338.GP6239@mit.edu> <20090327055750.GA18065@srcf.ucam.org> <20090327062114.GA18290@srcf.ucam.org> <20090327112438.GQ6239@mit.edu> <49CD4109.2070505@goop.org> <49D29077.80502@goop.org> <1238538636.26693.11.camel@shrek.rexursive.com> <1238563578.26693.19.camel@shrek.rexursive.com> In-Reply-To: <1238563578.26693.19.camel@shrek.rexursive.com> X-Enigmail-Version: 0.95.6 Content-Type: text/plain; charset=ISO-8859-15; format=flowed Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1072 Lines: 30 Bojan Smojver wrote: > On Wed, 2009-04-01 at 09:30 +1100, Bojan Smojver wrote: > >> I have no idea why we don't have that either. FreeBSD code seems >> really straightforward. >> > > I just tried using dd with conv=fsync option and that kinda does what > you mentioned. I see this at the end of strace: > --------------------------------- > write(1, ""..., 512) = 512 > read(0, ""..., 512) = 0 > fsync(1) = 0 > close(0) = 0 > close(1) = 0 > --------------------------------- > > So, maybe GNU folks just don't want to have yet another tool for this. > Huh, didn't know dd had grown that. Confusingly similar to the completely different conv=sync, so its a perfect dd addition. Ooh, fdatasync too. J -- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html Please read the FAQ at http://www.tux.org/lkml/