source: udev/40-modprobe.rules @ f0da65f

clfs-1.2clfs-2.1clfs-3.0.0-systemdclfs-3.0.0-sysvinitsystemdsysvinit
Last change on this file since f0da65f was 1f7827a2, checked in by Jim Gifford <clfs@…>, 18 years ago

r1012@server (orig r1010): jim | 2006-01-06 10:33:15 -0800

r1291@server: jim | 2006-01-06 10:31:33 -0800
Updates based on Alex's findings. Thank You Alex


  • Property mode set to 100644
File size: 1011 bytes
Line 
1########################################################################
2#
3# Description : 40-modprobe.rules
4#
5# Authors     : Based on Open Suse Udev Rules
6#               kay.sievers@suse.de
7#
8# Adapted to  : Jim Gifford
9# LFS         : Alexander E. Patrakov
10#
11# Version     : 00.01
12#
13# Notes       :
14#
15########################################################################
16
17# hotplug
18ENV{MODALIAS}=="?*",    RUN+="/sbin/modprobe $env{MODALIAS}"
19
20# scsi
21SUBSYSTEM=="scsi_device",       ACTION=="add", SYSFS{device/type}=="0|7|14", RUN+="/sbin/modprobe sd_mod"
22SUBSYSTEM=="scsi_device",       ACTION=="add", SYSFS{device/type}=="1", SYSFS{device/vendor}=="On[sS]tream", RUN+="/sbin/modprobe osst"
23SUBSYSTEM=="scsi_device",       ACTION=="add", SYSFS{device/type}=="1", RUN+="/sbin/modprobe st"
24SUBSYSTEM=="scsi_device",       ACTION=="add", SYSFS{device/type}=="[45]", RUN+="/sbin/modprobe sr_mod"
25SUBSYSTEM=="scsi_device",       ACTION=="add", RUN+="/sbin/modprobe sg"
26
27# floppy
28KERNEL=="nvram",                ACTION=="add", RUN+="load_floppy_module.sh"
Note: See TracBrowser for help on using the repository browser.