Re: MAKEDEV & 2.3.99-pre

From: Nick Holloway (Nick.Holloway@alfie.demon.co.uk)
Date: Sun Mar 19 2000 - 18:25:59 EST


f5ibh@db0bm.ampr.org (f5ibh) writes:
> When I want to use MAKEDEV with 2.3.99, I get the following messages :
>
> [root@f5ibh] /dev # ./MAKEDEV audio
> ./MAKEDEV: major_pty/m%d=2: No such file or directory.
> ./MAKEDEV: major_pty/s%d=3: No such file or directory.
> ./MAKEDEV: major_tts/%d=4: No such file or directory.
> ./MAKEDEV: major_cua/%d=5: No such file or directory.

This is because MAKEDEV attempts to parse /proc/devices, and store the
results in shell variables.

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).

If it is intended that lines in /proc/devices contain a '/', then MAKEDEV
will need an overhaul to deal with it.

        Nick `ex-MAKEDEV maintainer' Holloway

-- 
 `O O'  | Nick.Holloway@alfie.demon.co.uk
// ^ \\ | http://www.alfie.demon.co.uk/

- 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:30 EST