> mv ~/foo /mnt/disk/somedir > > ~/foo is removed but foo is not always synchronously > copied : it may stay in the cache from some time. > Hence if my disk crashes during (or before) the > real writing, I complety lose the file foo > (As it has been removed BEFORE the real copy > takes place) > > If there is a fsync before the erasure, this will > solve the problem.
Jim Meyering: Good idea or bad idea? -- Thomas Hood -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]

