summaryrefslogtreecommitdiffstats
path: root/source/a/udev/config/rules.d
diff options
context:
space:
mode:
Diffstat (limited to 'source/a/udev/config/rules.d')
-rw-r--r--source/a/udev/config/rules.d/40-slackware.rules22
-rw-r--r--source/a/udev/config/rules.d/59-non-libata-devices.rules44
-rw-r--r--source/a/udev/config/rules.d/65-permissions.rules41
3 files changed, 0 insertions, 107 deletions
diff --git a/source/a/udev/config/rules.d/40-slackware.rules b/source/a/udev/config/rules.d/40-slackware.rules
deleted file mode 100644
index 9e8c63428..000000000
--- a/source/a/udev/config/rules.d/40-slackware.rules
+++ /dev/null
@@ -1,22 +0,0 @@
-# /lib/udev/rules.d/40-slackware.rules
-#
-# Slackware custom udev rules
-# Also see the following Slackware-provided custom rules files:
-# 65-permissions.rules and 90-network.rules
-#
-# Any change in this file will be overwritten in upgrades. Put your
-# custom rules somewhere else (90-local.rules is a good idea).
-#
-# See the udev man page to know the parameters you can use in udev
-# rules.
-#
-
-# input devices
-KERNEL=="mice", SYMLINK+="mouse"
-
-# Set rfkill device writable by netdev group
-KERNEL=="rfkill", GROUP:="netdev", MODE:="0664"
-
-# Mount fusectl filesystem
-KERNEL=="fuse", ACTION=="add", RUN+="/bin/mount -t fusectl fusectl /sys/fs/fuse/connections"
-
diff --git a/source/a/udev/config/rules.d/59-non-libata-devices.rules b/source/a/udev/config/rules.d/59-non-libata-devices.rules
deleted file mode 100644
index 4b1238a43..000000000
--- a/source/a/udev/config/rules.d/59-non-libata-devices.rules
+++ /dev/null
@@ -1,44 +0,0 @@
-# Support for the deprecated IDE devices has been removed from the
-# default set of rules shipped with udev, but some administrators
-# might want (or need) the old ata drivers and thus build a custom
-# kernel, so we'll carry these on our own for now...
-
-#############################################################################
-
-# Old 50-udev-default.rules
-
-# floppy
-KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="floppy"
-
-# cdrom
-SUBSYSTEM=="block", KERNEL=="hd*", SUBSYSTEMS=="ide", ATTRS{media}=="cdrom", GROUP="cdrom"
-
-#############################################################################
-
-# Old 60-persistent-storage.rules
-
-# never access non-cdrom removable ide devices, the drivers are causing event loops on open()
-KERNEL=="hd*[!0-9]", ATTR{removable}=="1", SUBSYSTEMS=="ide", ATTRS{media}=="disk|floppy", GOTO="old_persistent_storage_end"
-KERNEL=="hd*[0-9]", ATTRS{removable}=="1", GOTO="old_persistent_storage_end"
-
-# by-id (hardware serial number)
-KERNEL=="hd*[!0-9]", IMPORT{program}="ata_id --export $tempnode"
-KERNEL=="hd*[!0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_SERIAL}"
-KERNEL=="hd*[0-9]", ENV{ID_SERIAL}=="?*", SYMLINK+="disk/by-id/ata-$env{ID_SERIAL}-part%n"
-
-LABEL="old_persistent_storage_end"
-
-#############################################################################
-
-# Old ide stuff from our custom 65-permissions.rules
-
-# permissions for IDE floppy devices
-KERNEL=="hd*[!0-9]", SUBSYSTEMS=="ide", ATTRS{media}=="floppy", SYMLINK+="floppy floppy-%k"
-KERNEL=="hd*[0-9]", ATTRS{media}=="floppy", ATTRS{removable}=="1", SYMLINK+="floppy-%k"
-
-# put all removable devices in group "plugdev"
-KERNEL=="hd*[!0-9]", ATTR{removable}=="1", GROUP="plugdev"
-KERNEL=="hd*[0-9]", ATTRS{removable}=="1", GROUP="plugdev"
-
-#############################################################################
-
diff --git a/source/a/udev/config/rules.d/65-permissions.rules b/source/a/udev/config/rules.d/65-permissions.rules
deleted file mode 100644
index 6f82b0f36..000000000
--- a/source/a/udev/config/rules.d/65-permissions.rules
+++ /dev/null
@@ -1,41 +0,0 @@
-# Slackware permission rules
-#
-# These rules are here instead of 40-slackware.rules because
-# many of them need to run after the block section in
-# 50-udev.default.rules
-#
-# Remember, in any upgrade, this file will be overwritten.
-# Put your custom rules somewhere else (90-local.rules is
-# a good idea).
-#
-
-# all disks with group disk
-KERNEL!="fd*", SUBSYSTEM=="block", GROUP="disk"
-
-# put all removable devices in group "plugdev"
-KERNEL=="sd*[!0-9]", ATTR{removable}=="1", GROUP="plugdev"
-KERNEL=="sd*[0-9]", ATTRS{removable}=="1", GROUP="plugdev"
-
-# Many hot-pluggable devices (ZIP, Jazz, LS-120, etc...)
-# need to be in plugdev, too.
-KERNEL=="diskonkey*", GROUP="plugdev"
-KERNEL=="jaz*", GROUP="plugdev"
-KERNEL=="pocketzip*", GROUP="plugdev"
-KERNEL=="zip*", GROUP="plugdev"
-KERNEL=="ls120", GROUP="plugdev"
-KERNEL=="microdrive*", GROUP="plugdev"
-
-# CD group and permissions
-ENV{ID_CDROM}=="?*", GROUP="cdrom", MODE="0660"
-KERNEL=="pktcdvd", GROUP="cdrom", MODE="0660"
-KERNEL=="pktcdvd[0-9]*", GROUP="cdrom", MODE="0660"
-# permissions for SCSI sg devices
-SUBSYSTEMS=="scsi", KERNEL=="s[gt][0-9]*", ATTRS{type}=="5", \
- GROUP="cdrom", MODE="0660"
-
-# Make DRI video devices usable by anyone in group "video":
-KERNEL=="card[0-9]*",GROUP:="video"
-
-# Make the real time clock readable by all, and writable by root:
-KERNEL=="rtc|rtc0", MODE="0644"
-