The bootloader, format, and image methods first call into a check_system_internal function, which checks the device-is-system-internal property in dk-disks to make sure that the device in question is *not* a system-internal device (bzr rev 170.1.2, part of the r201 merge). If it is system internal, it raises an exception.
So I believe the code already addresses the concern you raise. Do you disagree?
Martin,
First, thanks for this review.
The bootloader, format, and image methods first call into a check_system_ internal function, which checks the device- is-system- internal property in dk-disks to make sure that the device in question is *not* a system-internal device (bzr rev 170.1.2, part of the r201 merge). If it is system internal, it raises an exception.
So I believe the code already addresses the concern you raise. Do you disagree?