From: "Marco d'Itri" <md@Linux.IT>
To: linux-hotplug@vger.kernel.org
Subject: Updates config files
Date: Tue, 27 Jan 2004 00:19:22 +0000 [thread overview]
Message-ID: <20040127001922.GA14116@wonderland.linux.it> (raw)
[-- Attachment #1: Type: text/plain, Size: 306 bytes --]
I believe these are reasonably complete for a normal system, with the
exception of scsi-devfs.sh which still needs a lot of work.
BTW, ide-devfs.sh is broken because it populates discs/ and cdroms/
without checking if the SCSI script already created links there.
--
ciao, |
Marco | [4326 inK/P7I0FuS4s]
[-- Attachment #2: udev.permissions --]
[-- Type: text/plain, Size: 2002 bytes --]
# name:user:group:mode
# character devices
ptmx:root:tty:0666
random:root:root:0666
urandom:root:root:0444
kmem:root:kmem:0640
mem:root:kmem:0640
port:root:kmem:0640
null:root:root:0666
zero:root:root:0666
full:root:root:0666
misc/rtc:root:audio:0660
tts/*:root:dialout:0660
rfcomm/*:root:dialout:0660
tty[BCDEFHILMPRSTUVWX][0-9]*:root:dialout:0660
ttyS[ACIR][0-9]*:root:dialout:0660
ttyUSB[0-9]*:root:dialout:0660
ttyACM[0-9]*:root:dialout:0660
ippp[0-9]*:root:dialout:0660
isdn[0-9]*:root:dialout:0660
isdnctrl[0-9]*:root:dialout:0660
capi[0-9.]*:root:dialout:0660
dcbri[0-9]*:root:dialout:0660
ircomm[0-9]*:root:dialout:0660
snd/*:root:audio:0660
sound/*:root:audio:0660
admmidi*:root:audio:0660
adsp*:root:audio:0660
aload*:root:audio:0660
amidi*:root:audio:0660
amixer*:root:audio:0660
audio*:root:audio:0660
dmfm*:root:audio:0660
dsp*:root:audio:0660
audio*:root:audio:0660
mixer*:root:audio:0660
music:root:audio:0660
sequencer*:root:audio:0660
printers/*:root:lp:0660
usb/lp[0-9]*:root:lp:0660
lp[0-9]*:root:lp:0660
parport[0-9]*:root:lp:0660
irlpt[0-9]*:root:lp:0660
usblp[0-9]*:root:lp:0660
input/*:root:root:0644
js:root:root:0644
djs:root:root:0644
dri/card[0-9]*:root:video:0660
fb/*:root:video:0620
agpgart:root:video:0660
v4l/*:root:video:0660
video[0-9]*:root:video:0660
radio[0-9]*:root:video:0660
vbi[0-9]*:root:video:0660
vtx[0-9]*:root:video:0660
# block devices
floppy/*:root:floppy:0660
fd[0-9]*:root:floppy:0660
ram[0-9]*:root:disk:0660
raw/*:root:disk:0660
ide/*:root:disk:0660
hd[a-s][0-9]*:root:disk:0660
scsi/*:root:disk:0660
sd[a-z][0-9]*:root:disk:0660
sd[a-i][a-z][0-9]*:root:disk:0660
s[grt][0-9]*:root:disk:0660
scd[0-9]*:root:cdrom:0660
dasd[0-9]*:root:disk:0660
ataraid[0-9]*:root:disk:0660
loop/*:root:disk:0660
loop[0-9]*:root:disk:0660
md/*:root:disk:0660
md[0-9]*:root:disk:0660
dm-*:root:disk:0640
ht[0-9]*:root:tape:0660
nht[0-9]*:root:tape:0660
pt[0-9]*:root:tape:0660
npt[0-9]*:root:tape:0660
st[0-9]*:root:tape:0660
nst[0-9]*:root:tape:0660
[-- Attachment #3: udev.rules --]
[-- Type: text/plain, Size: 3542 bytes --]
# There are a number of modifiers that are allowed to be used in some
# of the different fields. They provide the following subsitutions:
# %n - the "kernel number" of the device.
# For example, 'sda3' has a "kernel number" of '3'
# %k - the kernel name for the device.
# %M - the kernel major number for the device
# %m - the kernel minor number for the device
# %b - the bus id for the device
# %c - the string returned by the PROGRAM. (Note, this doesn't work within
# the PROGRAM field for the obvious reason.)
# %% - the '%' char itself.
#
# IDE block devices
BUS="ide", KERNEL="hd*", PROGRAM="/etc/udev/ide-devfs.sh %k %b %n", NAME="%1c", SYMLINK="%k %2c"
# SCSI block devices
BUS="scsi", KERNEL="sd[a-z][0-9]*", PROGRAM="/etc/udev/scsi-devfs.sh %k %b %n", NAME="%1c", SYMLINK="%k %2c"
BUS="scsi", KERNEL="sd[a-i][a-z][0-9]*", PROGRAM="/etc/udev/scsi-devfs.sh %k %b %n", NAME="%1c", SYMLINK="%k %2c"
BUS="scsi", KERNEL="s[grt][0-9]*", PROGRAM="/etc/udev/scsi-devfs.sh %k %b %n", NAME="%1c", SYMLINK="%k %2c"
BUS="scsi", KERNEL="scd[0-9]*", PROGRAM="/etc/udev/scsi-devfs.sh %k %b %n", NAME="%1c", SYMLINK="%k %2c"
BUS="scsi", KERNEL="st[0-9]*", PROGRAM="/etc/udev/scsi-devfs.sh %k %b %n", NAME="%1c", SYMLINK="%k %2c"
BUS="scsi", KERNEL="nst[0-9]*", PROGRAM="/etc/udev/scsi-devfs.sh %k %b %n", NAME="%1c", SYMLINK="%k %2c"
# block devices
KERNEL="md[0-9]*", NAME="md/%n", SYMLINK="%k"
KERNEL="loop[0-9]*", NAME="loop/%n" #, SYMLINK="%k"
# tty devices
KERNEL="tty[0-9]*", NAME="vc/%n"
KERNEL="ttyS[0-9]*", NAME="tts/%n"
KERNEL="ttyUSB[0-9]*", NAME="tts/USB%n"
# vc devices
KERNEL="vcs", NAME="vcc/0"
KERNEL="vcs[0-9]*", NAME="vcc/%n"
KERNEL="vcsa", NAME="vcc/a0"
KERNEL="vcsa[0-9]*", NAME="vcc/a%n"
# v4l devices
KERNEL="video0", NAME="v4l/video%n", SYMLINK="video"
KERNEL="video[0-9]*", NAME="v4l/video%n"
KERNEL="radio0", NAME="v4l/radio%n", SYMLINK="radio"
KERNEL="radio[0-9]*", NAME="v4l/radio%n"
KERNEL="vbi0", NAME="v4l/vbi%n", SYMLINK="vbi"
KERNEL="vbi[0-9]*", NAME="v4l/vbi%n"
KERNEL="vtx0", NAME="v4l/vtx%n", SYMLINK="vtx"
KERNEL="vtx[0-9]*", NAME="v4l/vtx%n"
# misc devices
KERNEL="apm_bios", NAME="misc/apm_bios", SYMLINK="apm_bios"
KERNEL="agpgart", NAME="misc/agpgart", SYMLINK="agpgart"
KERNEL="psaux", NAME="misc/psaux" #, SYMLINK="psaux"
KERNEL="rtc", NAME="misc/rtc", SYMLINK="rtc"
KERNEL="card[0-9]*", NAME="dri/card%n"
KERNEL="i2c-[0-9]*", NAME="i2c/%n"
KERNEL="ram[0-9]*", NAME="rd/%n" #, SYMLINK="%k"
KERNEL="lp[0-9]*", NAME="printers/%n"
# sound devices
KERNEL="controlC[0-9]*", NAME="snd/%k"
KERNEL="hw[CD0-9]*", NAME="snd/%k"
KERNEL="pcm[CD0-9cp]*", NAME="snd/%k"
KERNEL="midi[CD0-9]*", NAME="snd/%k"
KERNEL="timer", NAME="snd/%k"
KERNEL="seq", NAME="snd/%k"
KERNEL="audio*", NAME="sound/%k"
KERNEL="dsp*", NAME="sound/%k"
KERNEL="adsp*", NAME="sound/%k"
KERNEL="midi*", NAME="sound/%k"
KERNEL="mixer*", NAME="sound/%k"
KERNEL="sequencer*", NAME="sound/%k"
KERNEL="amidi*", NAME="sound/%k"
KERNEL="dmmidi*", NAME="sound/%k"
KERNEL="admmidi*", NAME="sound/%k"
# input devices
KERNEL="mice", NAME="input/%k"
KERNEL="mouse*", NAME="input/%k"
KERNEL="event*", NAME="input/%k"
KERNEL="js*", NAME="input/%k"
KERNEL="ts*", NAME="input/%k"
# device mapper creates its own device nodes so ignore these
KERNEL="dm-[0-9]*", NAME=""
[-- Attachment #4: scsi-devfs.sh --]
[-- Type: application/x-sh, Size: 1026 bytes --]
next reply other threads:[~2004-01-27 0:19 UTC|newest]
Thread overview: 2+ messages / expand[flat|nested] mbox.gz Atom feed top
2004-01-27 0:19 Marco d'Itri [this message]
-- strict thread matches above, loose matches on Subject: below --
2004-02-03 1:31 Updates config files Greg KH
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20040127001922.GA14116@wonderland.linux.it \
--to=md@linux.it \
--cc=linux-hotplug@vger.kernel.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.