]> git.ipfire.org Git - thirdparty/util-linux.git/commit
fdformat: fix block device open race
authorSami Kerola <kerolasa@iki.fi>
Sat, 31 Oct 2015 18:34:36 +0000 (18:34 +0000)
committerSami Kerola <kerolasa@iki.fi>
Sun, 22 Nov 2015 20:56:38 +0000 (20:56 +0000)
commitf5320b483c0a25be1481df221665f4d18add4a1a
tree9532e4618a39be29284da08c461defdf0f19f870
parent80c320fac1c0fe0154ab07c3b5242a13d3c50adb
fdformat: fix block device open race

This fix makes fdformat also to detect if block device is busy, and warn if
the device is misaligned.

Signed-off-by: Sami Kerola <kerolasa@iki.fi>
disk-utils/fdformat.c