bug-coreutils
[Top][All Lists]
Advanced

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

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


From: Paul Eggert
Subject: bug#19681: [PATCH] sync: use syncfs(2) if any argument is specified
Date: Sun, 25 Jan 2015 09:28:34 -0800
User-agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.4.0

Giuseppe Scrivano wrote:
Should we instead add something like --file-system and
--data-only, respectively for syncfs and fdatasync and use fsync if no
option is specified?

Yes, thanks, that sounds reasonable. I suggest --data rather than --data-only, as fdatasync is allowed to synchronize metadata and "--data-only" implies otherwise.





reply via email to

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