diff --git a/Rules-for-adding-new-device-types.md b/Rules-for-adding-new-device-types.md index a9dd4c7..1637aaf 100644 --- a/Rules-for-adding-new-device-types.md +++ b/Rules-for-adding-new-device-types.md @@ -5,6 +5,7 @@ Steps for adding a new device type: 1. Add the device type to the PbDeviceType enum of the protobuf definition. 2. Add code for creating the device type to the DeviceFactory class. The device instance and all devices-specific properties have to be created by this class. 3. Add the device-type specific implementation in new .cpp/.h files. -4. Update the manpages. +4. Ensure to initialize the device type with its device type properties. +5. Update the manpages. Devices should only inherit from the Disk class if they make use of image files. Only devices backed by image files can be disks. \ No newline at end of file