I suppose the good solution for this is to make cdrecord use sysfs to find out which sg-device belongs to which <bus>,<target>,<lun> triple.
I've just temporarily solved it by explicitly adding dev=/dev/scd0 to additional options for cdrecord in the settings for K3b. This could be generalized to dev=/dev/cdrw and thereby using whichever device udev thinks should be symlinked to /dev/cdrw.
I suppose the good solution for this is to make cdrecord use sysfs to find out which sg-device belongs to which <bus>,< target> ,<lun> triple.
I've just temporarily solved it by explicitly adding dev=/dev/scd0 to additional options for cdrecord in the settings for K3b. This could be generalized to dev=/dev/cdrw and thereby using whichever device udev thinks should be symlinked to /dev/cdrw.