update comment

This commit is contained in:
Chris Danford
2004-03-27 03:18:28 +00:00
parent 7088c0eb28
commit 8d0365b6fa
@@ -385,7 +385,10 @@ void MemoryCardDriver_Linux::Flush( UsbStorageDevice* pDevice )
// Strangely, "-o sync" doesn't seem to force the data to be written to a USB
// pen drive. I see can see that SM wrote the files correctly, but if I unplug
// without sync'ing or umount'ing, then the files are lost. Maybe usb-strorage
// doesn't play nicely with -o sync?
// doesn't play nicely with -o sync? -Chris
// "sync" seems to work fine for our purpose. We don't need the flush to
// happen by the time we return, because the player won't immediately pull
// their cards out after the flush happens. -Chris
CString sCommand = "sync";
LOG->Trace( "executing '%s'", sCommand.c_str() );
system( sCommand );