http://bugzilla.suse.com/show_bug.cgi?id=1036463 http://bugzilla.suse.com/show_bug.cgi?id=1036463#c49 --- Comment #49 from Martin Wilck <martin.wilck@suse.com> --- (In reply to Martin Wilck from comment #48)
Summarizing, unless I'm overlooking something essential, the early loading of the sg driver is really just a relict from the past and could be dropped.
This argument is about system boot, udev rules, and device detection only. We've been early-loading sg for decades, so it's quite likely that user-space applications, either shipped or 3rd party, rely on the sg driver being present. If we don't load sg at all, such applications may fail in strange ways. But to address that issue, "late" loading of sg would be sufficient. Thus the approach of comment 5 should work, and should also address libgphoto2's needs.
From a technical point of view, comment 5 is actually too broad - as argued in comment 48, loading sg isn't necessary for devices that forward ioctls to scsi_cmd_ioctl(), which, AFAICS, applies at least for sd, sr, and st. Anyway, user space apps may not be aware of this, and look for the sg device nodes anyway, so we should probably apply comment 5 even if it's not strictly necessary.
Comments, please. -- You are receiving this mail because: You are on the CC list for the bug.