Whole device FAT32 file system reports device busy warning from mlabel
On all of my development VMs, having a whole device FAT32 file system very nearly always shows a partition warning with this message:
plain floppy: device "/dev/sdb" busy (Resource temporarily unavailable): Cannot initialize '::'
mlabel: Cannot initialize drive
occasionally the warning isn't triggered. After a quick test with a few
other file systems, they don't appear to be affected. The cause is
triggered udev events which are changing /dev
entries for the whole
disk device exactly when mlabel
is trying to read the label. For
the other file system types the timing never seems to clash. Confirmed
this with GParted 1.0.0 and as far back as 0.19.1 (which is as early as
I have already built).
This is the same kind of thing as was found in these previous bug reports:
- GNOME Bugzilla Bug 790418 - "Unable to inform the kernel of the change" message may lead to corrupted partition table
- GNOME Bugzilla Bug 762941 - Operations sometimes failing with: No such file or directory
- GNOME Bugzilla Bug 604298 - Problems resizing file systems with gparted-live-0.5.0-3
Except those were when applying operations, and this is when scanning devices as part of the refresh.
Edited by Mike Fleetwood