mdev.conf

Tito farmatito at tiscali.it
Sun Aug 24 20:23:35 UTC 2008


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:
news:x:9:
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---------

Ciao,
Tito



More information about the busybox mailing list