GNU bug report logs - #19681
[PATCH] sync: use syncfs(2) if any argument is specified

Previous Next

Package: coreutils;

Reported by: Giuseppe Scrivano <gscrivan <at> redhat.com>

Date: Sun, 25 Jan 2015 03:06:02 UTC

Severity: normal

Tags: patch

Done: Assaf Gordon <assafgordon <at> gmail.com>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Giuseppe Scrivano <gscrivan <at> redhat.com>
To: Paul Eggert <eggert <at> cs.ucla.edu>
Cc: Pádraig Brady <P <at> draigBrady.com>, 19681 <at> debbugs.gnu.org
Subject: bug#19681: [PATCH] sync: use syncfs(2) if any argument is specified
Date: Sun, 25 Jan 2015 18:19:18 +0100
Paul Eggert <eggert <at> cs.ucla.edu> writes:

> If we're adding this sort of option, shouldn't we also give users the
> ability to invoke fsync and fdatasync on a single file, as opposed to
> syncfs on an entire file system?

Good point.  Should we instead add something like --file-system and
--data-only, respectively for syncfs and fdatasync and use fsync if no
option is specified?

Giuseppe




This bug report was last modified 6 years and 283 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.