mirror of
https://github.com/systemd/systemd-stable.git
synced 2024-10-30 06:25:25 +03:00
rules: SUSE update
This commit is contained in:
parent
14c7994263
commit
2e23125e11
@ -96,11 +96,7 @@ SUBSYSTEM=="block", GROUP="disk", MODE="0640"
|
||||
# st/osst: 1 TYPE_TAPE
|
||||
SUBSYSTEM=="scsi", KERNEL=="[0-9]*:[0-9]*", ACTION=="add", ATTR{type}=="0|7|14", ATTR{timeout}="60"
|
||||
SUBSYSTEM=="scsi", KERNEL=="[0-9]*:[0-9]*", ACTION=="add", ATTR{type}=="1", ATTR{timeout}="900"
|
||||
SUBSYSTEM=="scsi_device", ACTION=="add", ATTRS{type}=="1", ATTR{vendor}=="On[sS]tream", RUN+="/sbin/modprobe osst"
|
||||
SUBSYSTEM=="scsi_device", ACTION=="add", TEST!="[module/sg]", RUN+="/sbin/modprobe sg"
|
||||
KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", OPTIONS+="all_partitions"
|
||||
SUBSYSTEM=="ide", ACTION=="add", ATTR{media}=="tape", RUN+="/sbin/modprobe ide-scsi"
|
||||
SUBSYSTEM=="mmc", ACTION=="add", RUN+="/sbin/modprobe mmc_block"
|
||||
|
||||
# misc storage devices (non-block)
|
||||
KERNEL=="sg*", GROUP="disk", MODE="0640"
|
||||
|
13
etc/udev/suse/80-drivers.rules
Normal file
13
etc/udev/suse/80-drivers.rules
Normal file
@ -0,0 +1,13 @@
|
||||
ACTION!="add", GOTO="drivers_end"
|
||||
|
||||
DRIVER!="?*", ENV{MODALIAS}=="?*", RUN+="/sbin/modprobe --quiet $env{MODALIAS}"
|
||||
|
||||
SUBSYSTEM=="pnp", ENV{MODALIAS}!="?*", RUN+="/bin/sh -c 'while read id; do /sbin/modprobe --quiet pnp:d$$id; done < /sys$devpath/id'"
|
||||
|
||||
SUBSYSTEM=="tifm", RUN+="/sbin/modprobe --quiet -all tifm_sd tifm_ms"
|
||||
SUBSYSTEM=="mmc", RUN+="/sbin/modprobe mmc_block"
|
||||
SUBSYSTEM=="ide", ATTR{media}=="tape", RUN+="/sbin/modprobe ide-scsi"
|
||||
SUBSYSTEM=="scsi_device", ATTRS{type}=="1", ATTR{vendor}=="On[sS]tream", RUN+="/sbin/modprobe osst"
|
||||
SUBSYSTEM=="scsi_device", TEST!="[module/sg]", RUN+="/sbin/modprobe sg"
|
||||
|
||||
LABEL="drivers_end"
|
Loading…
Reference in New Issue
Block a user