Re: Speeding up dpkg, a proposal
Russell Coker <firstname.lastname@example.org> writes:
> I recently had a situation where I was doing a backup to a USB flash device
> and I decided to install some Debian packages. The sync() didn't complete
> until the backup completed because the write-back buffers were never empty!
Which is odd because I've used sync() while copying large amounts of
data and the sync() completes while the copying is going on steadily.
It only waits for the currently dirty buffers to be written, not for any
buffers that get dirtied later. At least it used to.