Updated Rules for adding new device types (markdown)

Uwe Seimet 2022-02-09 16:25:14 +01:00
parent e1d7af2585
commit aff1417d63
1 changed files with 2 additions and 1 deletions

@ -6,6 +6,7 @@ Steps for adding a new device type:
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. Ensure to initialize the device type with its device type properties.
5. Update the manpages.
5. Verify that _rasctl -s_ reports the correct device type properties.
6. 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.