commit | 00b6d7a4604e759eb3c92b3ecea608d6fe024b81 | [log] [tgz] |
---|---|---|
author | srs5694 <srs5694@users.sourceforge.net> | Sun Jun 26 22:40:06 2011 -0400 |
committer | srs5694 <srs5694@users.sourceforge.net> | Sun Jun 26 22:40:06 2011 -0400 |
tree | c47703bea8a55b25f90e9b9cc8a54cc3c51c10e9 | |
parent | 6aae2a9b70e9f88926baad94c1eea40e0b534f01 [diff] [blame] |
0.7.2 release, includes new Linux type code & true GUID generation in Windows
diff --git a/diskio-unix.cc b/diskio-unix.cc index 327a498..03fc3c8 100644 --- a/diskio-unix.cc +++ b/diskio-unix.cc
@@ -230,7 +230,8 @@ 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"