[Date Prev][Date Next] [Thread Prev][Thread Next] [Date Index] [Thread Index]

RE: /proc/devices lists '188 usb/ttys/%d', choking MAKEDEV



On 16-Feb-2001 David M. Anderson wrote:
> I am running Debian 2.2 (potato) with the exception of having compiled 
> the 2.4.1 kernel.
> 
> MAKEDEV chokes, with the output:
> /sbin/MAKEDEV: major_usbtts%d=188: command not found
> 
> I believe the problem is with line 150 of the script, and due to the 
> fact that in /proc/devices, under Character Devices, is the line:
> 188 usb/tts/%d
> 
> Can anyone help?
> 

do
    device=`echo $device | sed 's#/.*##'`
    case "$major" in
        Character|Block|'')
            ;;         
        *)        
            eval "major_$device=$major"
            devices="$devices $device"
            ;;
    esac
done

is what mine looks like, and 'usb/tts/%d' gets munged to 'usb'.  My MAKEDEV
came from the package 'makedev'.  Mine is version 2.3.1-51.




Reply to: