smdev

suckless mdev
git clone git://git.2f30.org/smdev
Log | Files | Refs | README | LICENSE

commit d5c4a92fcf4bc81eba03164883e584006eb9b4e5
parent 6bc6f96acdf7319ff6a71007d025762a42700a34
Author: fbt <fbt@fleshless.org>
Date:   Fri,  1 Aug 2014 23:10:17 +0400

config changes due to the chmod fix + fuse device

Diffstat:
Mconfig.def.h | 9+++++----
1 file changed, 5 insertions(+), 4 deletions(-)

diff --git a/config.def.h b/config.def.h @@ -7,7 +7,7 @@ struct rule { const char *path; const char *cmd; } rules[] = { - { "null", "root", "root", 0666, NULL, "@chmod 666 $DEVNAME" }, + { "null", "root", "root", 0666, NULL, NULL }, { "zero", "root", "root", 0666, NULL, NULL }, { "full", "root", "root", 0666, NULL, NULL }, { "random", "root", "root", 0666, NULL, NULL }, @@ -16,7 +16,7 @@ struct rule { { "mem", "root", "root", 0640, NULL, NULL }, { "kmem", "root", "root", 0640, NULL, NULL }, { "port", "root", "root", 0640, NULL, NULL }, - { "console", "root", "tty", 0600, NULL, "@chmod 600 $DEVNAME" }, + { "console", "root", "tty", 0600, NULL, NULL }, { "ptmx", "root", "tty", 0666, NULL, NULL }, { "tty", "root", "tty", 0666, NULL, NULL }, { "tty[0-9]", "root", "root", 0600, NULL, NULL }, @@ -29,13 +29,14 @@ struct rule { { "sr[0-9]*", "root", "cdrom", 0660, NULL, "@ln -sf $DEVNAME /dev/cdrom" }, { "ts[0-9]+", "root", "root", 0640, "=input/", NULL }, { "input/.*", "root", "root", 0640, "=input/", NULL }, - { "dri/.*", "root", "video", 0660, "=dri/", "@chown root:video $DEVNAME" }, - { "snd/.*", "root", "audio", 0660, "=snd/", "@chown root:audio $DEVNAME" }, + { "dri/.*", "root", "video", 0660, "=dri/", NULL }, + { "snd/.*", "root", "audio", 0660, "=snd/", NULL }, { "midi.*", "root", "audio", 0660, "=snd/", NULL }, { "seq", "root", "audio", 0660, "=snd/", NULL }, { "timer", "root", "audio", 0660, "=snd/", NULL }, { "rtc[0-9]*", "root", "root", 0664, NULL, NULL }, { "vbi[0-9]", "root", "video", 0660, NULL, NULL }, { "video[0-9]", "root", "video", 0660, NULL, NULL }, + { "fuse", "root", "root", 0666, NULL, NULL }, { ".*", "root", "root", 0660, NULL, NULL }, };