tag 507085 +moreinfo thanks Hi,
On Fri, Nov 28, 2008 at 01:44:35AM +0800, jida...@jidanni.org wrote: > Package: manpages-dev > Version: 3.13-2 > Severity: wishlist > File: /usr/share/man/man2/sync.2.gz > > According to the standard specification (e.g., POSIX.1-2001), sync() > schedules the writes, but may return before the actual writing is done. > However, since version 1.3.20 Linux does actually wait. (This still > does not guarantee data integrity: modern disks have large caches.) > > Also mention 'even some tiny 256 MB USB "disk on a key chain" are > still blinking, indicating writing is still going on, several seconds > after the command returns!' > > What do people have to do these days to not worry about when to remove > devices or shutdown? alias sync='/bin/sync; sleep 10'? Do you have a reference for a kernel bug regarding sync() returning too early ? -- Simon Paillard -- To UNSUBSCRIBE, email to debian-bugs-dist-requ...@lists.debian.org with a subject of "unsubscribe". Trouble? Contact listmas...@lists.debian.org