[Armadeus-commitlog] armadeus branch, master, updated. armadeus-4.1-67-gbcaff15
Brought to you by:
sszy
|
From: Julien B a. A. <ar...@us...> - 2012-02-17 11:09:58
|
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "armadeus".
The branch, master has been updated
via bcaff153460985f4a2c1eb6b40ef60658326d2e2 (commit)
from 5242483cc6196b5bffed4f3a4f419c803d36548a (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
commit bcaff153460985f4a2c1eb6b40ef60658326d2e2
Author: Julien Boibessot <jul...@ar...>
Date: Fri Feb 17 12:09:23 2012 +0100
[BUILDROOT] target_skeleton: update /etc/mdev.conf to state of the art
-----------------------------------------------------------------------
Summary of changes:
.../armadeus/rootfs/target_skeleton/etc/mdev.conf | 61 +++++++++-----------
1 files changed, 28 insertions(+), 33 deletions(-)
diff --git a/buildroot/target/device/armadeus/rootfs/target_skeleton/etc/mdev.conf b/buildroot/target/device/armadeus/rootfs/target_skeleton/etc/mdev.conf
index d63d78a..51bf588 100644
--- a/buildroot/target/device/armadeus/rootfs/target_skeleton/etc/mdev.conf
+++ b/buildroot/target/device/armadeus/rootfs/target_skeleton/etc/mdev.conf
@@ -1,5 +1,9 @@
# mdev.conf for Armadeus boards
#
+# Provide user, group, and mode information for devices. If a regex matches
+# the device name provided by sysfs, use the appropriate user:group and mode
+# instead of the default 0:0 660.
+#
# Syntax:
# <regexp> <UID>:<GID> <PERM> [{@,$,*} <CMD>]
# @: run <CMD> after creating
@@ -7,43 +11,34 @@
# *: like @ and $ at the same time
# <CMD> is run inside /dev using system()
-full 0:0 666
-null 0:0 777
-zero 0:0 666
+full 0:0 666
+null 0:0 777
+zero 0:0 666
+random 0:0 444
+urandom 0:0 444
+
+kmem 0:9 000
+mem 0:9 640
-random 0:0 444
-urandom 0:0 444
+console 0:5 600
+ptmx 0:5 660
+tty[0-9].* 0:5 660
-console 0:5 0600
-kmem 0:9 000
-mem 0:9 0640
-ptmx 0:5 0660
+ttyS[0-9].* 0:20 640
-sda.* 0:6 0660
-sdb.* 0:6 0660
-hda.* 0:6 0660
-hdb.* 0:6 0660
-mtd.* 0:6 0660
-mmc.* 0:6 0660
+# Block devices
+sd[a-z].* 0:6 0660
+mmcblk[0-9].* 0:6 0660
+hd[a-z].* 0:6 0660
+mtd.* 0:6 0660
# Move input devices to input directory
-event.* 0:0 0660 @(mkdir -p input&&mv $MDEV input)
-mice 0:0 0660 @(mkdir -p input&&mv $MDEV input)
-mouse.* 0:0 0660 @(mkdir -p input&&mv $MDEV input)
+event.* 0:0 0660 @(mkdir -p input&&mv $MDEV input)
+mice 0:0 0660 @(mkdir -p input&&mv $MDEV input)
+mouse.* 0:0 0660 @(mkdir -p input&&mv $MDEV input)
# Move sound devices to sound directory
-pcm.* 0:101 0660 @(mkdir -p snd&&mv $MDEV snd)
-seq 0:101 0660 @(mkdir -p snd&&mv $MDEV snd)
-timer 0:101 0660 @(mkdir -p snd&&mv $MDEV snd)
-control.* 0:101 0660 @(mkdir -p snd&&mv $MDEV snd)
-
-tty 0:5 0660
-tty0.* 0:5 0660
-tty1.* 0:5 0660
-tty2.* 0:5 0660
-tty3.* 0:5 0660
-tty4.* 0:5 0660
-tty5.* 0:5 0660
-tty6.* 0:5 0660
-
-ttyS.* 0:20 640
+pcm.* 0:100 0660 @(mkdir -p snd&&mv $MDEV snd)
+seq 0:100 0660 @(mkdir -p snd&&mv $MDEV snd)
+timer 0:100 0660 @(mkdir -p snd&&mv $MDEV snd)
+control.* 0:100 0660 @(mkdir -p snd&&mv $MDEV snd)
hooks/post-receive
--
armadeus
|