[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <49D30B25.6060001@goop.org>
Date: Tue, 31 Mar 2009 23:35:17 -0700
From: Jeremy Fitzhardinge <jeremy@...p.org>
To: Bojan Smojver <bojan@...ursive.com>
CC: linux-kernel@...r.kernel.org
Subject: Re: Linux 2.6.29
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, "<some data...>"..., 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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists