http://bugzilla.suse.com/show_bug.cgi?id=1036463 http://bugzilla.suse.com/show_bug.cgi?id=1036463#c57 --- Comment #57 from Martin Wilck <martin.wilck@suse.com> --- Although I said otherwise in comment 53, I feel now that a SUSE-specific kernel patch is sub-optimal for this purpose. To be honest, that's the real reason why the patch hasn't been submitted yet. Here's yet another idea.
cat >/etc/udev/rules.d/81-sg.rules <<EOF ACTION=="add", ENV{MODALIAS}=="scsi:t-*", RUN{builtin}+="kmod load sg" EOF
Advantages: 1 This loads sg only if SCSI devices are present. 2 it's executed after 80-drivers.rules, so the specific drivers sd_mod / st / ses ... will be loaded before sg, regardless if they're built-in or modules. 3 no kernel modification needed. 4 I'm guessing that Franck wouldn't want to take it in the udev package, but we can ship it in sg3_utils. Opinions? -- You are receiving this mail because: You are on the CC list for the bug.