Subject: bug#19996: closed (Re: bug#19995: [patch] sync.1: prevent data loss (reposte of my previous merged message))

From: [email-masked] (GNU bug Tracking System)
Date: Thu, 05 Mar 2015 12:24:03 +0000

Your bug report

#19995: [patch] sync.1: prevent data loss

which was filed against the coreutils package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
19995: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=19995
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#19995: [patch] sync.1: prevent data loss (reposte of my previous merged message)
From: Pádraig Brady <[email-masked]>
To: Stéphane Aulery <[email-masked]>, [email-masked]
Date: Thu, 05 Mar 2015 12:23:44 +0000
List-Id: <debbugs-submit.debbugs.gnu.org>

On 05/03/15 11:45, Stéphane Aulery wrote:
> Hello,
> 
> A Debian user reported [1] that sync.1 man page is incomplete unlike sync.2
> There is no mention of the unexpected behavior allowed by POSIX, which can
> cause data loss.
> 
> This patch provides a possible correction.
> 
> [1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507085

How about I apply this in your name instead?

diff --git a/man/sync.x b/man/sync.x
index 79fee22..18ee3fc 100644
--- a/man/sync.x
+++ b/man/sync.x
@@ -2,5 +2,8 @@
 sync \- Synchronize cached writes to persistent storage
 [DESCRIPTION]
 .\" Add any additional description here
+[BUGS]
+Persistence guarantees vary per system.
+See the system calls below for more details.
 [SEE ALSO]
 fdatasync(2), fsync(2), sync(2), syncfs(2)

Subject: [patch] sync.1: prevent data loss
From: [email-masked]
To: [email-masked]
Date: Wed, 4 Mar 2015 01:06:00 +0100
List-Id: <debbugs-submit.debbugs.gnu.org>

Hello,

A Debian user had reported 

A Debian user reported [1] that sync.1 man page is incomplete unlike sync.2
There is no mention of the unexpected behavior allowed by POSIX, which can
cause data loss.

This patch provides a possible correction.

[1] https://bugs.debian.org/cgi-bin/bugreport.cgi?bug=507085

Regards,