patch-2.3.46 linux/Documentation/filesystems/devfs/modules.conf

Next file: linux/Documentation/filesystems/devfs/rc.devfs
Previous file: linux/Documentation/filesystems/devfs/mk-devlinks
Back to the patch index
Back to the overall index

diff -u --recursive --new-file v2.3.45/linux/Documentation/filesystems/devfs/modules.conf linux/Documentation/filesystems/devfs/modules.conf
@@ -0,0 +1,89 @@
+# Sample entries for /etc/modules.conf for devfs
+
+###############################################################################
+#                  Configuration section: change to suit
+#
+alias		/dev/sound	sb
+alias		/dev/v4l	bttv
+alias		gen-watchdog	pcwd
+alias		gen-md		raid0
+alias		/dev/joysticks	joystick
+probeall	scsi-hosts	sym53c8xx
+
+###############################################################################
+#                      Generic section: do not change
+#
+# All HDDs
+probeall	/dev/discs	scsi-hosts sd_mod ide-probe-mod ide-disk DAC960
+
+# All CD-ROMs
+probeall	/dev/cdroms	scsi-hosts sr_mod ide-probe-mod ide-cd
+
+# All tapes
+probeall	/dev/tapes	scsi-hosts st ide-probe-mod ide-tape
+
+# All SCSI devices
+probeall	/dev/scsi	scsi-hosts sd_mod sr_mod st sg
+
+# All IDE devices
+probeall	/dev/ide	ide-probe-mod ide-disk ide-cd ide-tape ide-floppy
+
+# SCSI HDDs
+probeall	/dev/sd		scsi-hosts sd_mod
+alias		/dev/sd*	/dev/sd
+
+# SCSI CD-ROMs
+probeall	/dev/sr		scsi-hosts sr_mod
+alias		/dev/sr*	/dev/sr
+
+# SCSI tapes
+probeall	/dev/st		scsi-hosts st
+alias		/dev/st*	/dev/sr
+alias		/dev/nst*	/dev/st
+
+# SCSI generic
+probeall	/dev/sg		scsi-hosts sg
+alias		/dev/sg*	/dev/sg
+
+# Floppies
+alias		/dev/floppy	floppy
+alias		/dev/fd*	floppy
+
+# RAMDISCs
+alias		/dev/rd		rd
+alias		/dev/ram*	rd
+
+# Loop devices
+alias		/dev/loop*	loop
+
+# Meta devices
+alias		/dev/md*	gen-md
+
+# Parallel port printers
+alias		/dev/printers	lp
+alias		/dev/lp*	lp
+
+# Soundcard
+alias		/dev/audio	/dev/sound
+alias		/dev/mixer	/dev/sound
+alias		/dev/dsp	/dev/sound
+alias		/dev/dspW	/dev/sound
+alias		/dev/midi	/dev/sound
+
+# Joysticks
+alias		/dev/js*	/dev/joysticks
+
+# Serial ports
+alias		/dev/tts	serial
+alias		/dev/ttyS*	/dev/tts
+alias		/dev/cua*	/dev/tts
+
+# Miscellaneous devices
+alias		/dev/watchdog	gen-watchdog # alias for gen-watchdog needed!
+alias		/dev/atibm	atixlmouse
+alias		/dev/inportbm	msbusmouse
+alias		/dev/logibm	busmouse
+
+# Video capture devices
+alias		/dev/video*	/dev/v4l
+alias		/dev/vbi*	/dev/v4l

FUNET's LINUX-ADM group, linux-adm@nic.funet.fi
TCL-scripts by Sam Shen (who was at: slshen@lbl.gov)