Re: Possible bug with issuing sync from two open terminals

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

 



On Mon, 2009-06-01 at 20:07 -0700, Leslie Satenstein wrote:
> Either there was something wrong with the flash drive, or something
> else is wrong, but I noted that issuing the second sync command from
> the second terminal while the fist sync command was being executed
> resulted in the corruption of the flash drive file system (fat32).
> Does the sync command serialize it's operation?

The sync command just invokes the sync system call. It should always be
possible to issue multiple overlapping syncs with no ill-effects.

If sync(2) is really failing then there is a serious kernel-level
problem. However it seems more likely that the corruption is being
caused by something else, e.g. a physical problem with the pen drive or
a flaky USB interface.

poc

-- 
fedora-test-list mailing list
fedora-test-list@xxxxxxxxxx
To unsubscribe: 
https://www.redhat.com/mailman/listinfo/fedora-test-list

[Index of Archives]     [Fedora Desktop]     [Fedora SELinux]     [Photo Sharing]     [Yosemite Forum]     [KDE Users]

  Powered by Linux