Clean-up drive provisioning code

Bug #1247699 reported by Jason Gerard DeRose
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Dmedia
Fix Released
High
Jason Gerard DeRose

Bug Description

Some time ago I added the experimental `dmedia-provision-drive` script and its backing functionality in the `dmedia.drives` module. This code is for formatting a drive the "Dmedia way", plus for extracting useful metadata about a drive or partition from udev (whether or not a drive is being formatted).

Now that we're more committed to using this code, it's time to clean it up a bit and add comprehensive unit tests.

The metadata from udev has an important use when it comes to putting FileStore (drives) into a "failed" state, because we want to track this based on the drive serial number and the partition UUID, in addition to the FileStore ID.

Related branches

description: updated
Changed in dmedia:
status: In Progress → Fix Committed
Changed in dmedia:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.