lkml.org 
[lkml]   [2000]   [Mar]   [20]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
SubjectRe: MAKEDEV & 2.3.99-pre
Date
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/

\
 
 \ /
  Last update: 2005-03-22 13:57    [W:0.072 / U:0.080 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site