bug-coreutils
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Bug#322457: coding this


From: Jim Meyering
Subject: Re: Bug#322457: coding this
Date: Wed, 27 Jun 2007 15:39:56 +0200

Russell Coker <address@hidden> wrote:
> This would be a good feature to have, it's a pity that the internal copy()
> function in coreutils doesn't support this.
>
> Probably the first step towards this goal would be to look at how to have cp,
> mv, etc all take advantage of copying to a temporary file that would be
> synchronised with fsync() before being renamed.  Also it would be good to
> have an option to call fsync() before close().  Sometimes you merely want to
> know that the data is committed to disk before the program returns.

These do sound like nice additions.

It's probably going overboard, but some application might
even want to call fsync on each containing directory.




reply via email to

[Prev in Thread] Current Thread [Next in Thread]