Relationship between /dev and /udev
Andrew
cmkrnl at speakeasy.net
Sun Sep 12 17:17:40 UTC 2004
Paul,
Compare the output of the following
lsof | grep udev
lsof | fgrep /dev
also what version of udev and initscripts are you running?
I know from my own personal experience running the utopia stack through
its growth phase from February thru the summer, there were some issues
with the "udev as dev" cut over. I'm not even sure I should have the
dev package installed anymore, but anyway it is my understanding that
nothing should be touching anything in /udev. Only the nodes in /dev
should be used. It took me an entire eventing to 1 figure that out and
2) get all my sound things pointing back to /dev.
Do you have selinux enforcing? Also wasn't there some broken-ness
around the ramfs to tempfs change over for /dev and mkinitrd? That is
only in the very recent updates.
HTH,
Andrew
On my system nothing is using nodes in /udev --
# rpm -q udev
udev-030-10
# rpm -q initscripts
initscripts-7.73-1
(yeah I know thats 3 weeks old but.. still) they work.
# lsof | fgrep /udev
udevd 372 root txt REG 3,2 10324 8962153
/sbin/udevd
[Just the one item]
lsof | fgrep /dev | more
init 1 root 10u FIFO 3,2 3218125
/dev/initctl
netplugd 3112 root 0u CHR 1,3 3217216 /dev/null
...
syslogd 3153 root 0u unix 0x1cac9980 5213 /dev/log
slapd 3233 ldap 0u CHR 1,3 3217216 /dev/null
slapd 3233 ldap 1u CHR 1,3 3217216 /dev/null
...
smbd 3716 root 3r CHR 1,9 3222909
/dev/urandom
..
mingetty 3823 root 0u CHR 4,1 3222006 /dev/tty1
mingetty 3823 root 1u CHR 4,1 3222006 /dev/tty1
...
mixer_app 13965 andrew 35u CHR 14,0 3213762
/dev/mixer
mixer_app 13965 andrew 36u CHR 116,0 3244050
/dev/snd/controlC0
...
[the output above was trimmed down since it was several pages... you get
the idea]
Paul wrote:
>Hi,
>
>I'm still trying to sort out the sound problem I'm currently
>experiencing on my box and I'm looking at hwbrowser.
>
>Now, the soundcards are showing up happily there as is the floppy drive
>(as /dev/fd0 - this is missing in /udev). There is an equivalent entry
>in /udev for all of my hard and optical drives (/dev/hdx etc), there
>isn't a /udev entry for /dev/eth0 though
>
>Is /udev supposed to be a direct mirror of /dev and is it now the case
>that /udev is accessed in preference to /dev (which would account for
>the lack of sound here - /udev/audio, /udev/dsp and /udev/mixer are all
>reported as being missing)?
>
>TTFN
>
>Paul
>
>
More information about the fedora-test-list
mailing list