[Lunar-commits] CVS: moonbase/filesys/udev 49-udev.rules, 1.5,
1.6 BUILD, 1.16, 1.17 DETAILS, 1.51, 1.52
Florin Braescu
florin at lunar-linux.org
Thu Feb 24 12:38:44 UTC 2005
Update of /var/cvs/lunar/moonbase/filesys/udev
In directory espresso.foo-projects.org:/tmp/cvs-serv22450/filesys/udev
Modified Files:
49-udev.rules BUILD DETAILS
Log Message:
bump the version from 051 to 052.
Index: 49-udev.rules
===================================================================
RCS file: /var/cvs/lunar/moonbase/filesys/udev/49-udev.rules,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -d -r1.5 -r1.6
--- 49-udev.rules 23 Feb 2005 15:06:56 -0000 1.5
+++ 49-udev.rules 24 Feb 2005 12:38:42 -0000 1.6
@@ -14,23 +14,29 @@
KERNEL="vc/s*", OWNER="$local"
+# cpu devices
+KERNEL="cpu[0-9]*", NAME="cpu/%n/cpuid"
+KERNEL="msr[0-9]*", NAME="cpu/%n/msr"
+KERNEL="microcode", NAME="cpu/microcode"
+
+
# tty devices
-KERNEL="tty", GROUP="tty", MODE="0666"
-KERNEL="tty[0-9]*", NAME="vc/%n", SYMLINK="%k", OWNER="$local", GROUP="tty"
-KERNEL="ttyS[0-9]*", NAME="tts/%n", SYMLINK="%k", OWNER="$local", GROUP="tty"
+KERNEL="tty", GROUP="tty", MODE="0666"
+KERNEL="tty[0-9]*", NAME="vc/%n", SYMLINK="%k", OWNER="$local", GROUP="tty"
+KERNEL="ttyS[0-9]*", NAME="tts/%n", SYMLINK="%k", OWNER="$local", GROUP="tty"
# pty devices
-KERNEL="tty[p-za-e][0-9a-f]*", NAME="tty/s%n", SYMLINK="%k", OWNER="$local"
-KERNEL="pty[p-za-e][0-9a-f]*", NAME="pty/m%n", SYMLINK="%k", OWNER="$local"
+KERNEL="tty[p-za-e][0-9a-f]*", NAME="tty/s%n", SYMLINK="%k", OWNER="$local"
+KERNEL="pty[p-za-e][0-9a-f]*", NAME="pty/m%n", SYMLINK="%k", OWNER="$local"
# vc devices
-KERNEL="vcc/*", MODE="0600"
-KERNEL="vcs", NAME="vcc/0", SYMLINK="%k", MODE="0600"
-KERNEL="vcs[0-9]*", NAME="vcc/%n", SYMLINK="%k", MODE="0600"
-KERNEL="vcsa", MODE="0600"
-KERNEL="vcsa[0-9]*", NAME="vcc/a%n", SYMLINK="%k", MODE="0600"
+KERNEL="vcc/*", MODE="0600"
+KERNEL="vcs", NAME="vcc/0", SYMLINK="%k", MODE="0600"
+KERNEL="vcs[0-9]*", NAME="vcc/%n", SYMLINK="%k", MODE="0600"
+KERNEL="vcsa", MODE="0600"
+KERNEL="vcsa[0-9]*", NAME="vcc/a%n", SYMLINK="%k", MODE="0600"
# mem
@@ -164,7 +170,7 @@
# optical devices
KERNEL="cdrom*", GROUP="cdrom"
-KERNEL="cdroms/*", GROUP="cdrom "
+KERNEL="cdroms/*", GROUP="cdrom"
KERNEL="cdwriter", GROUP="cdrom"
KERNEL="sr*", GROUP="cdrom"
KERNEL="dvd", GROUP="cdrom"
@@ -187,7 +193,7 @@
KERNEL="ht*", GROUP="tape"
-# dm devioes
+# dm devices
KERNEL="dm-[0-9]*", PROGRAM="/sbin/devmap_name %M %m", NAME="%k", SYMLINK="%c", MODE="0640"
@@ -222,7 +228,7 @@
# input devices
-KERNEL="input/*", MODE="644"
+KERNEL="input/*", MODE="0644"
# gpm devices
@@ -237,12 +243,11 @@
# mainboard devices
-KERNEL="apm_bios", MODE="0600"
+KERNEL="apm_bios", MODE="0600"
KERNEL="i2c-[0-9]*", NAME="i2c/%n", SYMLINK="%k"
# serial + dialup devices
-KERNEL="ts*", NAME="input/%k"
#KERNEL="ippp*"
#KERNEL="ircomm*"
#KERNEL="isdn*"
@@ -265,9 +270,15 @@
# input
-KERNEL="djs*", NAME="input/%k"
-KERNEL="event*", NAME="input/%k"
-KERNEL="js*", NAME="input/%k"
-KERNEL="kbd", NAME="input/%k"
-KERNEL="mice", NAME="input/%k", SYMLINK="%k"
-KERNEL="mouse*", NAME="input/%k"
+KERNEL="ts*", NAME="input/%k", MODE="0600"
+KERNEL="event*", NAME="input/%k", MODE="0600"
+KERNEL="djs*", NAME="input/%k", MODE="0644"
+KERNEL="js*", NAME="input/%k", MODE="0644"
+KERNEL="kbd", NAME="input/%k", MODE="0644"
+KERNEL="mice", NAME="input/%k", SYMLINK="%k", MODE="0644"
+KERNEL="mouse*", NAME="input/%k", MODE="0644"
+
+
+# dvb devices
+KERNEL="dvb*", PROGRAM="/etc/udev/scripts/dvb.sh %k", NAME="%c", GROUP="video"
+
Index: BUILD
===================================================================
RCS file: /var/cvs/lunar/moonbase/filesys/udev/BUILD,v
retrieving revision 1.16
retrieving revision 1.17
diff -u -d -r1.16 -r1.17
--- BUILD 14 Feb 2005 23:22:54 -0000 1.16
+++ BUILD 24 Feb 2005 12:38:42 -0000 1.17
@@ -1,4 +1,5 @@
(
+
patch_it $SOURCE2 0 &&
make udevdir=/dev &&
@@ -9,10 +10,10 @@
# we cannot use automagic install via coretools
# since the udev script would be linked from rcX.d
# and would interfere with boot/{reboot,halt}
- install ${SCRIPT_DIRECTORY}/udev /etc/init.d/ &&
+ install ${SCRIPT_DIRECTORY}/udev /etc/init.d/ &&
- install ${SCRIPT_DIRECTORY}/49-udev.rules /etc/udev/rules.d/ &&
+ install ${SCRIPT_DIRECTORY}/49-udev.rules /etc/udev/rules.d/ &&
mkdir -p /etc/udev/scripts.d/
- install extras/{ide-devfs.sh,scsi-devfs.sh} /etc/udev/scripts.d/
+ install extras/{ide-devfs.sh,scsi-devfs.sh,dvb.sh} /etc/udev/scripts.d/
) > $C_FIFO 2>&1
Index: DETAILS
===================================================================
RCS file: /var/cvs/lunar/moonbase/filesys/udev/DETAILS,v
retrieving revision 1.51
retrieving revision 1.52
diff -u -d -r1.51 -r1.52
--- DETAILS 18 Feb 2005 12:13:15 -0000 1.51
+++ DETAILS 24 Feb 2005 12:38:42 -0000 1.52
@@ -1,16 +1,17 @@
MODULE=udev
- VERSION=051
+ VERSION=052
SOURCE=$MODULE-$VERSION.tar.bz2
SOURCE2=scsi-devfs.sh.patch
SOURCE_URL=http://www.kernel.org/pub/linux/utils/kernel/hotplug/
- SOURCE2_URL=${PATCH_URL}/
- SOURCE_VFY=sha1:336e9ed6ee43e3ae4d4867a47086e40507989386
+ SOURCE2_URL=$PATCH_URL/
+ SOURCE_VFY=sha1:b4ea3447ae147c8c7b7a006086e061ae69eafdfc
SOURCE2_VFY=sha1:9fc20cdd3ae95476dc066b2ff20c167f5c41c736
WEB_SITE=http://www.kernel.org/pub/linux/utils/kernel/hotplug/udev.html
ENTERED=20040104
- UPDATED=20050218
+ UPDATED=20050224
PSAFE=no
SHORT="Device naming from userspace for 2.6+ kernels"
+
cat << EOF
Future substitute of devfs in 2.6+ kernels. udev's goals:
* run in userspace
More information about the Lunar-commits
mailing list