*
* You should have received a copy of the GNU General Public License
* along with this program; if not, write to the Free Software
- * Foundation, Inc., 675 Mass Ave, Cambridge, MA 02139, USA.
+ * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
*/
#include <config.h>
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