return -1;
}
- udev_settle ();
-
/* sfdisk sometimes fails on fast machines with:
*
* Re-reading the partition table ...
* other component. In any case, reread the partition table
* unconditionally here.
*/
- return do_blockdev_rereadpt (device);
+ (void) command (NULL, NULL, "blockdev", "--rereadpt", device, NULL);
+
+ udev_settle ();
+
+ return 0;
}
int