blockconsole: add partitioning support

It is easiest to call bcon_add() for every partition and let the checks
within bcon_create() sort out whether the device is properly initialized
or should be ignored.  And since the ugly hack of scanned_devices
couldn't support this, finally replace it with a per-device workitem.
Long overdue.

Signed-off-by: Joern Engel <>
2 files changed