Re: HOWTO use udev to manage /dev

From: Greg KH
Date: Thu Feb 19 2004 - 15:33:41 EST


On Thu, Feb 19, 2004 at 08:21:25PM +0000, James Simmons wrote:
>
> > udev can create different /dev nodes for these devices. But as udev
> > does not modify the kernel code at all, it can not "solve" the
> > duplication of numbers in the kernel at all. Nor is it meant to.
>
> Okay. If I change the major number of serial ttys inside the kernel
> of course udev would properly handle this. Now the question is would this
> break userland applications using the serial port?

Userland apps use /dev names, not major:minor number pairs, right? So
userspace should be just fine as long as you tell it the proper /dev
name to use.

thanks,

greg k-h
-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/