mdev.conf
gb
b.gauth at orange.fr
Tue Aug 26 13:32:41 UTC 2008
Thank you
but i've got a problem ...
Le dimanche 24 août 2008 à 22:23 +0200, Tito a écrit :
> On Sunday 24 August 2008 21:31:21 gb wrote:
> > hello
> >
> > In mdev.conf there are three space-separated fields
> > - a regex,
> > - a numeric colon-separated uid:gid pair,
> > - octal permissions
> >
> > Is rules exists to know uid:gid numbers associate with device ?
> >
> > example : # /etc/mdev.conf
> >
> > null 0:0 777
> > zero 0:0 666
> > the owner and the group of devices "null" and "zero" is "root:root".
> > it 's easy with 0:0
> >
> > but for console .....
> > console 0:5 0600
> > owner is root but group is "5" ?
> >
> > Is here an "official" name of the number 5 ? What it is this name ?
> > Where can i find this information ?
> >
> > Thank for help.
> >
> > Gauthier
> >
> Hi,
> look at /etc/group file of your distro.
> ---snip----
> root:x:0:
> daemon:x:1:
> bin:x:2:
> sys:x:3:
> adm:x:4:
> tty:x:5:
> disk:x:6:
> lp:x:7:
> mail:x:8:
For example with this :
in my mdev.conf there is :
---------------
...
kmem 0:9 000
mem 0:9 0640
port 0:9 0640
...
---------------
if i use :
> news:x:9:
/dev/kmem, /dev/port and /dev/mem are owned by the group news !?
Is it ok ?
> uucp:x:10:
> man:x:12:
> proxy:x:13:
> kmem:x:15:
> dialout:x:20:
> fax:x:21:
> voice:x:22:
> cdrom:x:24:
> floppy:x:25:
> tape:x:26:
> sudo:x:27:
> audio:x:29:
> dip:x:30:
> www-data:x:33:
> backup:x:34:
> operator:x:37:
> list:x:38:
> irc:x:39:
> src:x:40:
> gnats:x:41:
> shadow:x:42:
> utmp:x:43:
> video:x:44:
> ----snip---------
>
is this list is the same for all distro ?
who decide to make this relation between group (gid or name) and
devices ?
> Ciao,
> Tito
> _______________________________________________
> busybox mailing list
> busybox at busybox.net
> http://busybox.net/cgi-bin/mailman/listinfo/busybox
>
More information about the busybox
mailing list