0.7.2 release, includes new Linux type code & true GUID generation in

Windows
This commit is contained in:
srs5694
2011-06-26 22:40:06 -04:00
parent 6aae2a9b70
commit 00b6d7a460
23 changed files with 208 additions and 660 deletions

View File

@@ -230,7 +230,8 @@ void DiskIO::DiskSync(void) {
platformFound++;
#endif
#ifdef __linux__
sleep(2);
sleep(1); // Theoretically unnecessary, but ioctl() fails sometimes if omitted....
fsync(fd);
i = ioctl(fd, BLKRRPART);
if (i)
cout << "Warning: The kernel is still using the old partition table.\n"