Comment 4 for bug 1649056

Kendek (nemh) wrote :

Yes, the current code is using its hard-coded solution, not a external general library. The big problem is the different character number (naming scheme). This should be handled everywhere, just like the mmcblk.
The Systemback development is stopped, because of my other things. And I do not have any nvme storage. I suggest, search for the "mmc" string in the code (sblib.ccp and systemback.cpp). Check the solution and try to add the nvme.
Device string length (/dev/nvme0):
mmcblk - 12
sdX - 8
nvme - 10
Partition string length (/dev/nvme0n1):
mmcblk - 14
sdX - 9
nvme - 12