Subject: Re: 10th serial port
To: Manuel Bouyer <bouyer@antioche.lip6.fr>
From: Andrew Brown <atatat@atatdot.net>
List: tech-kern
Date: 06/15/2000 16:42:47
>> >   Should the 10th serial port be called /dev/tty10, or /dev/tty010?
>> >   "sh MAKEDEV tty10" makes the latter.
>> 
>> Whats wrong with tty0a?
>
>The problem will be here again when you'll hit the 16th port :)

why not use printf?

   unit=`printf %02x $ounit`

-- 
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org             * "ah!  i see you have the internet
twofsonet@graffiti.com (Andrew Brown)                that goes *ping*!"
andrew@crossbar.com       * "information is power -- share the wealth."