mdev help

Rob Landley rob at landley.net
Tue Aug 15 21:36:03 UTC 2006


On Monday 14 August 2006 2:30 pm, Chey wrote:
> During the boot process I use mdev to populate /dev which is a ramfs.
> Everything seems to work fine with the exception of /dev/tty which
> seems to be in invalid device file. I determine it to be an invalid
> device file like so:
> 
> @foobar:/# stty -F /dev/tty
> stty: /dev/tty: No such device or address
> 
> Is this a bug or does this have something to do with my kernel?

Well, mdev is getting its values out of sysfs, ala:

cat /sys/class/tty/tty/dev
5:0

Could you cat the appropriate /sys/class/tty/tty/dev file and do an ls -l of 
your /dev/tty and tell us what you get?  (If that looks ok, then yes it's 
probably an issue with your kernel .config or some such.)

Rob
-- 
Never bet against the cheap plastic solution.



More information about the busybox mailing list