Re: MAKEDEV & 2.3.99-pre

From: tytso@mit.edu
Date: Tue Mar 21 2000 - 00:47:05 EST


   Date: Mon, 20 Mar 2000 21:38:45 +0000 (GMT)
   From: Alan Cox <alan@lxorguk.ukuu.org.uk>

> If you look, /proc/devices has the following lines in it:
>
> 2 pty/m%d
> 3 pty/s%d
> 4 tts/%d
> 5 cua/%d
>
> The "%d" look a bit suspect, but I guess it is meaningful to devfs
> (it was changed in 2.3.46 when devfs was included).

   That change is right - but only if devfs is included. If devfs is not
   present the old names should be reported by /proc/devices IMHO

I was tempted to do this for the serial driver, but was concerned people
(especially Linus) might not accept the extra #ifdef's. I'd be happy to
fix this for all of the tty devices if folks think it's a good idea.

                                                - Ted

-
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.rutgers.edu
Please read the FAQ at http://www.tux.org/lkml/



This archive was generated by hypermail 2b29 : Thu Mar 23 2000 - 21:00:31 EST