From: Frank Brehm Date: Wed, 17 May 2017 08:37:13 +0000 (+0200) Subject: committing changes in /etc after apt run X-Git-Url: https://git.uhu-banane.net/?a=commitdiff_plain;h=58e5349f0f2e686fe7f9efe9c7f5e600079ff653;p=config%2Fsarah%2Fetc.git committing changes in /etc after apt run Package changes: +libsensors4 1:3.3.5-2 +sysstat 11.0.1-1 --- diff --git a/.etckeeper b/.etckeeper index eb41d9b..b7dd8ff 100755 --- a/.etckeeper +++ b/.etckeeper @@ -197,6 +197,7 @@ maybe chmod 0644 'cron.d/amavisd-new' maybe chmod 0644 'cron.d/apticron' maybe chmod 0644 'cron.d/greetings' maybe chmod 0644 'cron.d/php5' +maybe chmod 0644 'cron.d/sysstat' maybe chmod 0755 'cron.daily' maybe chmod 0644 'cron.daily/.placeholder' maybe chmod 0755 'cron.daily/00logwatch' @@ -210,6 +211,7 @@ maybe chmod 0755 'cron.daily/man-db' maybe chmod 0755 'cron.daily/mlocate' maybe chmod 0755 'cron.daily/passwd' maybe chmod 0755 'cron.daily/spamassassin' +maybe chmod 0755 'cron.daily/sysstat' maybe chmod 0755 'cron.hourly' maybe chmod 0644 'cron.hourly/.placeholder' maybe chmod 0755 'cron.monthly' @@ -265,6 +267,7 @@ maybe chmod 0644 'default/rsync' maybe chmod 0644 'default/rsyslog' maybe chmod 0644 'default/spamassassin' maybe chmod 0644 'default/ssh' +maybe chmod 0644 'default/sysstat' maybe chmod 0644 'default/tmpfs' maybe chmod 0644 'default/useradd' maybe chmod 0644 'default/uwsgi' @@ -605,6 +608,7 @@ maybe chmod 0644 'init.d/skeleton' maybe chmod 0755 'init.d/spamassassin' maybe chmod 0755 'init.d/ssh' maybe chmod 0755 'init.d/sudo' +maybe chmod 0755 'init.d/sysstat' maybe chmod 0755 'init.d/udev' maybe chmod 0755 'init.d/udev-finish' maybe chmod 0755 'init.d/ulogd2' @@ -1028,6 +1032,9 @@ maybe chmod 0644 'security/sepermit.conf' maybe chmod 0644 'security/time.conf' maybe chmod 0755 'selinux' maybe chmod 0644 'selinux/semanage.conf' +maybe chmod 0755 'sensors.d' +maybe chmod 0644 'sensors.d/.placeholder' +maybe chmod 0644 'sensors3.conf' maybe chmod 0644 'services' maybe chmod 0755 'sgml' maybe chmod 0644 'sgml/xml-core.cat' @@ -1088,6 +1095,9 @@ maybe chmod 0440 'sudoers.d/README' maybe chmod 0644 'sysctl.conf' maybe chmod 0755 'sysctl.d' maybe chmod 0644 'sysctl.d/README.sysctl' +maybe chmod 0755 'sysstat' +maybe chmod 0644 'sysstat/sysstat' +maybe chmod 0644 'sysstat/sysstat.ioconf' maybe chmod 0755 'systemd' maybe chmod 0644 'systemd/bootchart.conf' maybe chmod 0644 'systemd/journald.conf' diff --git a/alternatives/sar b/alternatives/sar new file mode 120000 index 0000000..5498641 --- /dev/null +++ b/alternatives/sar @@ -0,0 +1 @@ +/usr/bin/sar.sysstat \ No newline at end of file diff --git a/alternatives/sar.1.gz b/alternatives/sar.1.gz new file mode 120000 index 0000000..06a4f21 --- /dev/null +++ b/alternatives/sar.1.gz @@ -0,0 +1 @@ +/usr/share/man/man1/sar.sysstat.1.gz \ No newline at end of file diff --git a/cron.d/sysstat b/cron.d/sysstat new file mode 100644 index 0000000..66325ce --- /dev/null +++ b/cron.d/sysstat @@ -0,0 +1,9 @@ +# The first element of the path is a directory where the debian-sa1 +# script is located +PATH=/usr/lib/sysstat:/usr/sbin:/usr/sbin:/usr/bin:/sbin:/bin + +# Activity reports every 10 minutes everyday +5-55/10 * * * * root command -v debian-sa1 > /dev/null && debian-sa1 1 1 + +# Additional run at 23:59 to rotate the statistics file +59 23 * * * root command -v debian-sa1 > /dev/null && debian-sa1 60 2 diff --git a/cron.daily/sysstat b/cron.daily/sysstat new file mode 100755 index 0000000..7c7a5df --- /dev/null +++ b/cron.daily/sysstat @@ -0,0 +1,18 @@ +#!/bin/sh +# Generate a daily summary of process accounting. Since this will probably +# get kicked off in the morning, it is run against the previous day data. + +# our configuration file +DEFAULT=/etc/default/sysstat +# default settings, overriden in the above file +ENABLED=false + +[ ! -x /usr/lib/sysstat/sa2 ] && exit 0 + +# read our config +[ -r "$DEFAULT" ] && . "$DEFAULT" + +[ "$ENABLED" = "true" ] || exit 0 + +exec /usr/lib/sysstat/sa2 -A + diff --git a/default/sysstat b/default/sysstat new file mode 100644 index 0000000..dfeb7e0 --- /dev/null +++ b/default/sysstat @@ -0,0 +1,10 @@ +# +# Default settings for /etc/init.d/sysstat, /etc/cron.d/sysstat +# and /etc/cron.daily/sysstat files +# + +# Should sadc collect system activity informations? Valid values +# are "true" and "false". Please do not put other values, they +# will be overwritten by debconf! +ENABLED="false" + diff --git a/init.d/sysstat b/init.d/sysstat new file mode 100755 index 0000000..52316f5 --- /dev/null +++ b/init.d/sysstat @@ -0,0 +1,63 @@ +#! /bin/sh +# vim:ft=sh:et +### BEGIN INIT INFO +# Provides: sysstat +# Required-Start: $remote_fs $local_fs $syslog +# Required-Stop: +# Default-Start: 2 3 4 5 +# Default-Stop: +# Short-Description: Start/stop sysstat's sadc +# Description: Sysstat contains system performance tools for Linux +# The init file runs the sadc command in order to write +# the "LINUX RESTART" mark to the daily data file +### END INIT INFO + +PATH=/usr/local/sbin:/usr/local/bin:/sbin:/bin:/usr/sbin:/usr/bin +DAEMON=/usr/lib/sysstat/debian-sa1 +NAME=sadc +DESC="the system activity data collector" + +test -f "$DAEMON" || exit 0 +umask 022 + +# our configuration file +DEFAULT=/etc/default/sysstat + +# default settings... +ENABLED="false" +SA1_OPTIONS="" + +# ...overriden in the configuration file +test -r "$DEFAULT" && . "$DEFAULT" + +set -e +status=0 + +. /lib/lsb/init-functions + +case "$1" in + start|restart|reload|force-reload) + if [ "$ENABLED" = "true" ] ; then + log_daemon_msg "Starting $DESC" "$NAME" + start-stop-daemon --start --quiet --exec $DAEMON -- --boot || status=$? + log_end_msg $status + fi + ;; + stop) + ;; + status) + if [ "$ENABLED" = "true" ] ; then + log_success_msg "sadc cron jobs are enabled" + exit 0 + else + log_failure_msg "sadc cron jobs are disabled" + exit 3 + fi + ;; + *) + log_failure_msg "Usage: $0 {start|stop|restart|reload|force-reload|status}" + exit 1 + ;; +esac + +exit $status diff --git a/rc2.d/S02sysstat b/rc2.d/S02sysstat new file mode 120000 index 0000000..df83d78 --- /dev/null +++ b/rc2.d/S02sysstat @@ -0,0 +1 @@ +../init.d/sysstat \ No newline at end of file diff --git a/rc3.d/S02sysstat b/rc3.d/S02sysstat new file mode 120000 index 0000000..df83d78 --- /dev/null +++ b/rc3.d/S02sysstat @@ -0,0 +1 @@ +../init.d/sysstat \ No newline at end of file diff --git a/rc4.d/S02sysstat b/rc4.d/S02sysstat new file mode 120000 index 0000000..df83d78 --- /dev/null +++ b/rc4.d/S02sysstat @@ -0,0 +1 @@ +../init.d/sysstat \ No newline at end of file diff --git a/rc5.d/S02sysstat b/rc5.d/S02sysstat new file mode 120000 index 0000000..df83d78 --- /dev/null +++ b/rc5.d/S02sysstat @@ -0,0 +1 @@ +../init.d/sysstat \ No newline at end of file diff --git a/sensors.d/.placeholder b/sensors.d/.placeholder new file mode 100644 index 0000000..e69de29 diff --git a/sensors3.conf b/sensors3.conf new file mode 100644 index 0000000..fa20a1d --- /dev/null +++ b/sensors3.conf @@ -0,0 +1,523 @@ +# libsensors configuration file +# ----------------------------- +# +# This default configuration file only includes statements which do not +# differ from one mainboard to the next. Only label, compute and set +# statements for internal voltage and temperature sensors are included. +# +# In general, local changes should not be added to this file, but rather +# placed in custom configuration files located in /etc/sensors.d. This +# approach makes further updates much easier. +# +# Such custom configuration files for specific mainboards can be found at +# http://www.lm-sensors.org/wiki/Configurations +# +# It is recommended not to modify this file, but to drop your local +# changes in /etc/sensors.d/. File with names that start with a dot +# are ignored. + +chip "lm78-*" "lm79-*" "lm80-*" "lm96080-*" + + label temp1 "M/B Temp" + + +chip "w83792d-*" + + label in0 "VcoreA" + label in1 "VcoreB" + label in6 "+5V" + label in7 "5VSB" + label in8 "Vbat" + + set in6_min 5.0 * 0.90 + set in6_max 5.0 * 1.10 + set in7_min 5.0 * 0.90 + set in7_max 5.0 * 1.10 + set in8_min 3.0 * 0.90 + set in8_max 3.0 * 1.10 + + +chip "w83793-*" + + label in0 "VcoreA" + label in1 "VcoreB" + label in7 "+5V" + label in8 "5VSB" + label in9 "Vbat" + + set in7_min 5.0 * 0.90 + set in7_max 5.0 * 1.10 + set in8_min 5.0 * 0.90 + set in8_max 5.0 * 1.10 + set in9_min 3.0 * 0.90 + set in9_max 3.0 * 1.10 + + +chip "w83795g-*" "w83795adg-*" + + label in12 "+3.3V" + label in13 "3VSB" + label in14 "Vbat" + + set in12_min 3.3 * 0.90 + set in12_max 3.3 * 1.10 + set in13_min 3.3 * 0.90 + set in13_max 3.3 * 1.10 + set in14_min 3.0 * 0.90 + set in14_max 3.3 * 1.10 + + +chip "via686a-*" + + label in0 "Vcore" + label in2 "+3.3V" + label in3 "+5V" + label in4 "+12V" + + set in2_min 3.3 * 0.90 + set in2_max 3.3 * 1.10 + set in3_min 5.0 * 0.90 + set in3_max 5.0 * 1.10 + set in4_min 12.0 * 0.90 + set in4_max 12.0 * 1.10 + + +chip "adm1025-*" "ne1619-*" + + label in1 "Vcore" + label in2 "+3.3V" + label in3 "+5V" + label in4 "+12V" + label in5 "VCC" + + set in2_min 3.3 * 0.90 + set in2_max 3.3 * 1.10 + set in3_min 5.0 * 0.90 + set in3_max 5.0 * 1.10 + set in5_min 3.3 * 0.90 + set in5_max 3.3 * 1.10 +# Depending on how your chip is hardwired, you may or may not have +# +12V readings. +# set in4_min 12.0 * 0.90 +# set in4_max 12.0 * 1.10 + + label temp1 "CPU Temp" + label temp2 "M/B Temp" + + +chip "lm87-*" "adm1024-*" + + label in1 "Vcore" + label in2 "+3.3V" + label in3 "+5V" + label in4 "+12V" + + set in2_min 3.3 * 0.90 + set in2_max 3.3 * 1.10 + set in3_min 5.0 * 0.90 + set in3_max 5.0 * 1.10 + set in4_min 12.0 * 0.90 + set in4_max 12.0 * 1.10 + + label temp1 "M/B Temp" + label temp2 "CPU Temp" + + +chip "it87-*" "it8712-*" "it8716-*" "it8718-*" "it8720-*" + + label in8 "Vbat" + + +chip "fscpos-*" "fscher-*" +#FSC "Hermes" + + label in0 "+12V" + label in1 "+5V" + label in2 "Vbat" + + label temp1 "CPU Temp" + label temp2 "M/B Temp" + label temp3 "Aux Temp" + + +chip "fscscy-*" +#FSC "Scylla" + + label in0 "+12V" + label in1 "+5V" + label in2 "+3.3V" + + label temp1 "CPU0 Temp" + label temp2 "CPU1 Temp" + label temp3 "M/B Temp" + label temp4 "Aux Temp" + + +chip "fschds-*" +# Fujitsu Technology Solutions, "Hades"-Chip + +# Temperatures + label temp1 "CPU Temp" + label temp2 "Super I/O Temp" + label temp3 "System Temp" + +# Fans + label fan1 "PSU Fan" + label fan2 "CPU Fan" + label fan3 "System FAN2" + label fan4 "System FAN3" + label fan5 "System FAN4" + +# Voltages + label in0 "+12V" + label in1 "+5V" + label in2 "Vbat" + +chip "fscsyl-*" +# Fujitsu Technology Solutions, "Syleus"-Chip + +# Temperatures + label temp1 "CPU Temp" + label temp4 "Super I/O Temp" + label temp5 "Northbridge Temp" + +# Fans + label fan1 "CPU Fan" + label fan2 "System FAN2" + label fan3 "System FAN3" + label fan4 "System FAN4" + label fan7 "PSU Fan" + +# Voltages + label in0 "+12V" + label in1 "+5V" + label in2 "Vbat" + label in3 "+3.3V" + label in5 "+3.3V-Aux" + +chip "vt1211-*" + + label in5 "+3.3V" + + label temp2 "SIO Temp" + + +chip "vt8231-*" + + label in5 "+3.3V" + + +chip "smsc47m192-*" + + label in1 "Vcore" + label in2 "+3.3V" + label in3 "+5V" + label in4 "+12V" + label in5 "VCC" + + set in2_min 3.3 * 0.90 + set in2_max 3.3 * 1.10 + set in3_min 5.0 * 0.90 + set in3_max 5.0 * 1.10 + set in4_min 12.0 * 0.90 + set in4_max 12.0 * 1.10 + set in5_min 3.3 * 0.90 + set in5_max 3.3 * 1.10 + + label temp1 "SIO Temp" + + +chip "lm85-*" "lm85b-*" "lm85c-*" "adm1027-*" "adt7463-*" "adt7468-*" \ + "emc6d100-*" "emc6d102-*" "emc6d103-*" "emc6d103s-*" + + label in1 "Vcore" + label in2 "+3.3V" + label in3 "+5V" + label in4 "+12V" + + set in2_min 3.3 * 0.90 + set in2_max 3.3 * 1.10 + set in3_min 5.0 * 0.90 + set in3_max 5.0 * 1.10 +# Depending on how your chip is hardwired, you may or may not have +# +12V readings. +# set in4_min 12.0 * 0.90 +# set in4_max 12.0 * 1.10 + + label temp2 "M/B Temp" + + +chip "emc6w201-*" + + label in2 "+3.3V" + label in3 "+5V" + + label temp6 "M/B Temp" + + +chip "pc87365-*" "pc87366-*" + +# Voltage inputs + + label in7 "3VSB" + label in8 "VDD" + label in9 "Vbat" + label in10 "AVDD" + + compute in7 @*2, @/2 + compute in8 @*2, @/2 + compute in10 @*2, @/2 + +# These are the operating conditions as recommended by National +# Semiconductor + set in7_min 3.0 + set in7_max 3.6 + set in8_min 3.0 + set in8_max 3.6 + set in10_min 3.0 + set in10_max 3.6 +# Depending on the hardware setup, the battery voltage may or may not +# be monitored. +# set in9_min 2.4 +# set in9_max 3.6 + + label temp3 "SIO Temp" + + set temp3_min 0 + set temp3_max 70 + set temp3_crit 85 + + +chip "adm1030-*" "adm1031-*" + + label temp1 "M/B Temp" + + +chip "w83627thf-*" + + label in3 "+5V" + label in7 "5VSB" + label in8 "Vbat" + + # Internal resistors + compute in3 @ * (1 + 34/51), @ / (1 + 34/51) + compute in7 @ * (1 + 34/51), @ / (1 + 34/51) + + set in3_min 5.0 * 0.90 + set in3_max 5.0 * 1.10 + set in7_min 5.0 * 0.90 + set in7_max 5.0 * 1.10 +# The battery voltage may or may not be monitored. +# set in8_min 3.0 * 0.90 +# set in8_max 3.0 * 1.10 + + +chip "w83627ehf-*" "w83627dhg-*" "w83667hg-*" "nct6775-*" "nct6776-*" + + label in0 "Vcore" + label in2 "AVCC" + label in3 "+3.3V" + label in7 "3VSB" + label in8 "Vbat" + + set in2_min 3.3 * 0.90 + set in2_max 3.3 * 1.10 + set in3_min 3.3 * 0.90 + set in3_max 3.3 * 1.10 + set in7_min 3.3 * 0.90 + set in7_max 3.3 * 1.10 + set in8_min 3.0 * 0.90 + set in8_max 3.3 * 1.10 + + +chip "w83627uhg-*" + + label in2 "AVCC" + label in3 "+5V" + label in7 "5VSB" + label in8 "Vbat" + + set in2_min 5.0 * 0.90 + set in2_max 5.0 * 1.10 + set in3_min 5.0 * 0.90 + set in3_max 5.0 * 1.10 + set in7_min 5.0 * 0.90 + set in7_max 5.0 * 1.10 + set in8_min 3.0 * 0.90 + set in8_max 3.3 * 1.10 + + +chip "f71805f-*" + + label in0 "+3.3V" + + set in0_min 3.3 * 0.90 + set in0_max 3.3 * 1.10 + + +chip "f71872f-*" + + label in0 "+3.3V" + label in9 "Vbat" + label in10 "3VSB" + + set in0_min 3.3 * 0.90 + set in0_max 3.3 * 1.10 + set in9_min 3.0 * 0.90 + set in9_max 3.0 * 1.10 + set in10_min 3.3 * 0.90 + set in10_max 3.3 * 1.10 + + +chip "k8temp-*" + + label temp1 "Core0 Temp" + label temp2 "Core0 Temp" + label temp3 "Core1 Temp" + label temp4 "Core1 Temp" + + +chip "dme1737-*" + + label in0 "5VSB" + label in1 "Vcore" + label in2 "+3.3V" + label in3 "+5V" + label in4 "+12V" + label in5 "3VSB" + label in6 "Vbat" + + label temp2 "SIO Temp" + + set in0_min 5.0 * 0.90 + set in0_max 5.0 * 1.10 + set in2_min 3.3 * 0.90 + set in2_max 3.3 * 1.10 + set in3_min 5.0 * 0.90 + set in3_max 5.0 * 1.10 + set in4_min 12.0 * 0.90 + set in4_max 12.0 * 1.10 + set in5_min 3.3 * 0.90 + set in5_max 3.3 * 1.10 + set in6_min 3.0 * 0.90 + set in6_max 3.0 * 1.10 + + +chip "sch311x-*" + + label in1 "Vcore" + label in2 "+3.3V" + label in3 "+5V" + label in4 "+12V" + label in5 "3VSB" + label in6 "Vbat" + + label temp2 "SIO Temp" + + set in2_min 3.3 * 0.90 + set in2_max 3.3 * 1.10 + set in3_min 5.0 * 0.90 + set in3_max 5.0 * 1.10 + set in4_min 12.0 * 0.90 + set in4_max 12.0 * 1.10 + set in5_min 3.3 * 0.90 + set in5_max 3.3 * 1.10 + set in6_min 3.0 * 0.90 + set in6_max 3.0 * 1.10 + + +chip "sch5027-*" + + label in0 "5VSB" + label in1 "Vcore" + label in2 "+3.3V" + label in5 "3VSB" + label in6 "Vbat" + + label temp2 "SIO Temp" + + set in0_min 5.0 * 0.90 + set in0_max 5.0 * 1.10 + set in2_min 3.3 * 0.90 + set in2_max 3.3 * 1.10 + set in5_min 3.3 * 0.90 + set in5_max 3.3 * 1.10 + set in6_min 3.0 * 0.90 + set in6_max 3.0 * 1.10 + + +chip "sch5127-*" + + label in2 "+3.3V" + label in5 "3VSB" + label in6 "Vbat" + + set in2_min 3.3 * 0.90 + set in2_max 3.3 * 1.10 + set in5_min 3.3 * 0.90 + set in5_max 3.3 * 1.10 + set in6_min 3.0 * 0.90 + set in6_max 3.0 * 1.10 + + +chip "f71808e-*" "f71808a-*" "f71862fg-*" "f71869-*" "f71869a-*" "f71882fg-*" \ + "f71889fg-*" "f71889ed-*" "f71889a-*" + + label in0 "+3.3V" + label in7 "3VSB" + label in8 "Vbat" + + compute in0 @*2, @/2 + compute in7 @*2, @/2 + compute in8 @*2, @/2 + + +chip "f71858fg-*" "f8000-*" + + label in0 "+3.3V" + label in1 "3VSB" + label in2 "Vbat" + + compute in0 @*2, @/2 + compute in1 @*2, @/2 + compute in2 @*2, @/2 + + +chip "f81865f-*" + + label in0 "+3.3V" + label in5 "3VSB" + label in6 "Vbat" + + compute in0 @*2, @/2 + compute in5 @*2, @/2 + compute in6 @*2, @/2 + + +chip "adt7473-*" "adt7475-*" + + label in2 "+3.3V" + + set in2_min 3.3 * 0.90 + set in2_max 3.3 * 1.10 + + label temp2 "Board Temp" + + +chip "adt7476-*" "adt7490-*" + + label in1 "Vcore" + label in2 "+3.3V" + label in3 "+5V" + label in4 "+12V" + + set in2_min 3.3 * 0.90 + set in2_max 3.3 * 1.10 + set in3_min 5.0 * 0.90 + set in3_max 5.0 * 1.10 +# Depending on how your ADT7476 is hardwired, you may or may not have +# +12V readings. +# set in4_min 12.0 * 0.90 +# set in4_max 12.0 * 1.10 + + label temp2 "M/B Temp" diff --git a/sysstat/sysstat b/sysstat/sysstat new file mode 100644 index 0000000..6f5326f --- /dev/null +++ b/sysstat/sysstat @@ -0,0 +1,23 @@ +# sysstat configuration file. See sysstat(5) manual page. + +# How long to keep log files (in days). +# Used by sa2(8) script +# If value is greater than 28, then log files are kept in +# multiple directories, one for each month. +HISTORY=7 + +# Compress (using gzip or bzip2) sa and sar files older than (in days): +COMPRESSAFTER=10 + +# Parameters for the system activity data collector (see sadc(8) manual page) +# which are used for the generation of log files. +# By default contains the `-S DISK' option responsible for generating disk +# statisitcs. Use `-S XALL' to collect all available statistics. +SADC_OPTIONS="-S DISK" + +# Directory where sa and sar files are saved. +SA_DIR=/var/log/sysstat + +# Compression program to use. +ZIP="bzip2" + diff --git a/sysstat/sysstat.ioconf b/sysstat/sysstat.ioconf new file mode 100644 index 0000000..ab34ba3 --- /dev/null +++ b/sysstat/sysstat.ioconf @@ -0,0 +1,268 @@ +# +# sysstat.ioconf +# +# Copyright (C) 2004, Red Hat, Inc. +# +# Maintained by Sebastien Godard (sysstat [at] orange.fr) +# +# This file gives iostat and sadc a clue about how to find whole +# disk devices in /proc/partitions and /proc/diskstats +# Authoritative source is: linux/Documentation/devices.txt +# +# line format, general record: +# major:name:ctrlpre:ctrlno:devfmt:devcnt:partpre:partcnt:description +# +# major: major # for device +# name: base of device name +# ctrlpre: string to use in generating controller designators +# eg: the c in c0d2p6, decimal formatting implied +# '*' means none or irrelevant +# 'x': exception... record contains a specific name +# for a specific minor #, stored in the ctrlno field +# ctrlno: which controller of this type is this +# devfmt: type of device naming convention +# a: alpha: xxa, xxb, ... xxaa, xxab, ... xxzz +# %string: string to use in generating drive designators, +# eg: the 'd' in c0d2p6 , decimal formatting implied +# d: no special translations (decimal formatting) +# devcnt: how many whole devs per major number +# partpre: appended to whole dev before part designator +# eg. the p in c0d2p6, decimal formatting implied +# '*' means none +# partcnt: number of partitions per volume +# or minor # for exception records +# description: informative text +# +# line format, indirect record: +# major:base_major:ctrlno[:[desc]] +# +# major: major number of the device +# base_major: major number of the template for this type, +# 0 for not supported +# ctrlno: controller number of this type +# desc: controller-specific description +# if absent the desc from base_major will be +# used in sprintf( buf, desc, ctrlno ) + + +1:ram:*:0:d:256:*:1:RAM disks (ram0..ram255) +1:initrd:x:250:d:256:*:1:Initial RAM Disk (initrd) + +#2:0:0:Floppy Devices +2:fd:*:0:d:4:*:1:Floppy Devices fd0,fd1,fd2,fd3 + +3:hd:*:0:a:2:*:64:IDE - Controller %d +22:3:1: +33:3:2: +34:3:3: +56:3:4: +57:3:5: +88:3:6: +89:3:7: +90:3:8: +91:3:9: + +#4:0:0:NODEV +#5:0:0:NODEV +#6:0:0:NODEV +7:loop:*:0:d:256:*:1:Loop Devices + +8:sd:*:0:a:16:*:16:SCSI - Controller %d +65:8:1: +66:8:2: +67:8:3: +68:8:4: +69:8:5: +70:8:6: +71:8:7: +128:8:8: +129:8:9: +130:8:10: +131:8:11: +132:8:12: +133:8:13: +134:8:14: +135:8:15: + +9:md:*:0:d:256:*:1:Metadisk (Software RAID) devices (md0..md255) + +#10:0:0:NODEV + +#11:sr:*:0:d:256:*:1:CDROM - CDROM (sr0..sr255) (deprecated) +11:scd:*:0:d:256:*:1:CDROM - CDROM (scd0..scd255) + +#12:0:0:MSCDEX CD-ROM Callback + +13:xd:*:0:a:2:*:64:8-bit MFM/RLL/IDE controller (xda, xdb) + +#14:0:0:BIOS Hard Drive Callback +#15:0:0:CDROM - Sony CDU-31A/CDU-33A +#16:0:0:CDROM - Goldstar +#17:0:0:CDROM - Optics Storage +#18:0:0:CDROM - Sanyo + +19:double:*:0:d:256:*:1:Compressed Disk (double0..double255) + +#20:0:0:CDROM - Hitachi + +21:mfm:*:0:a:2:*:64:Acorn MFM Hard Drive (mfma, mfmb) + +# 22: see IDE, dev 3 + +#23:0:0:CDROM - Mistumi Proprietary +#24:0:0:CDROM - Sony CDU-535 +#25:0:0:CDROM - Matsushita (Panasonic/Soundblaster) #1 +#26:0:1:CDROM - Matsushita (Panasonic/Soundblaster) #2 +#27:0:2:CDROM - Matsushita (Panasonic/Soundblaster) #3 +#28:0:3:CDROM - Matsushita (Panasonic/Soundblaster) #4 +# 28:0:0:! ACSI (Atari) Disk Not Supported +#29:0:0:CDROM - Aztech/Orchid/Okano/Wearnes +#30:0:0:CDROM - Philips LMS CM-205 +#31:0:0:ROM/flash Memory Card +#32:0:0:CDROM - Phillips LMS CM-206 + +# 33: See IDE, dev 3 +# 34: See IDE, dev 3 + +#35:0:0:Slow Memory RAM Disk + +36:ed:*:0:a:2:*:64:MCA ESDI Hard Disk (eda, edb) + +#37:0:0:Zorro II Ram Disk +#38:0:0:Reserved For Linux/AP+ +#39:0:0:Reserved For Linux/AP+ +#40:0:0:Syquest EZ135 Parallel Port Drive +#41:0:0:CDROM - MicroSolutions Parallel Port BackPack +#42:0:0:For DEMO Use Only + +43:nb:*:0:d:256:*:1:Network Block devices (nb0..nb255) +44:ftl:*:0:a:16:*:16:Flash Translation Layer (ftla..ftlp) +45:pd:*:0:a:4:*:16:Parallel Port IDE (pda..pdd) + +#46:0:0:CDROM - Parallel Port ATAPI + +47:pf:*:0:d:256:*:1:Parallel Port ATAPI Disk Devices (pf0..pf255) + +48:rd:/c:0:%d:32:p:8:Mylex DAC960 RAID, Controller %d +49:48:1: +50:48:2: +51:48:3: +52:48:4: +53:48:5: +54:48:6: +55:48:7: +136:48:8: +137:48:9: +138:48:10: +139:48:11: +140:48:12: +141:48:13: +142:48:14: +143:48:15: + +# 56, 57: see IDE, dev 3: + +58:lvm:*:0:d:256:*:1:Logical Volume Manager (lvm0..lvm255) + +#59:0:0:PDA Filesystem Device +#60:0:0:Local/Experimental Use +#61:0:0:Local/Experimental Use +#62:0:0:Local/Experimental Use +#63:0:0:Local/Experimental Use +#64:0:0:NODEV + +# 65..71: See SCSI, dev 8: + +72:ida/:c:0:%d:16:p:16:Compaq Intelligent Drive Array - Controller %d +73:72:1: +74:72:2: +75:72:3: +76:72:4: +77:72:5: +78:72:6: +79:72:7: + +80:i2o/hd:*:0:a:16:*:16:I2O Disk - Controller %d +81:80:1: +82:80:2: +83:80:3: +84:80:4: +85:80:5: +86:80:6: +87:80:7: + +# 88..91: see IDE, dev 3: + +#92:0:0:PPDD Encrypted Disk +#93:0:0:NAND Flash Translation Layer not supported + +94:dasd:*:0:a:64:*:4:IBM S/390 DASD Block Storage (dasda, dasdb, ...) + +#95:0:0:IBM S/390 VM/ESA Minidisk +#96:0:0:NODEV +#97:0:0:CD/DVD packed writing devices not supported + +98:ubd:*:0:d:256:*:1:User-mode Virtual Block Devices (ubd0..ubd256) + +#99:0:0:JavaStation Flash Disk +#100:0:0:NODEV + +101:amiraid/ar:*:0:d:16:p:16:AMI HyperDisk RAID (amiraid/ar0 - amiraid/ar15) + +#102:0:0:Compressed Block Device +#103:0:0:Audit Block Device + +104:cciss:/c:0:%d:16:p:16:HP SA 5xxx/6xxx (cciss) Controller %d +105:104:1: +106:104:2: +107:104:3: +108:104:4: +109:104:5: +110:104:6: +111:104:7: + +112:iseries/vd:*:0:a:32:*:8:IBM iSeries Virtual Disk (.../vda - .../vdaf) + +#113:0:0:CDROM - IBM iSeries Virtual + +# 114..159 NODEV + +120:emcpower:*:0:a:16:*:16:EMC PowerPath Unit %d + +#160:sx8/:*:0:d:8:p:32:Promise SATA SX8 Unit %d +#161:160:1: +160:carmel/:*:0:d:8:p:32:Carmel 8-port SATA Disks (carmel/0 - carmel/7) +161:160:1: + +# 162..198 UNUSED + +180:ub:*:0:a:32:p:8:USB block devices + +#199:0:0:Veritas Volume Manager (VxVM) Volumes +#200:0:0:NODEV +#201:0:0:Veritas VxVM Dynamic Multipathing Driver + +202:xvd:*:0:a:16:p:16:Xen Virtual Block Device + +# 203..230: UNUSED + +232:emcpower:*:0:a:16:*:16:EMC PowerPath Unit %d +233:232:1: +234:232:2: +235:232:3: +236:232:4: +237:232:5: +238:232:6: +239:232:7: +240:232:8: +241:232:9: +242:232:10: +243:232:11: +244:232:12: +245:232:13: +246:232:14: +247:232:15: + +# 240..254: LOCAL/Experimental +# 255: reserved for big dev_t expansion +