Subject: makedev/views
To: None <amiga-dev@sun-lamp.cs.berkeley.edu>
From: None <newsham@uhunix.uhcc.Hawaii.Edu>
List: amiga-dev
Date: 03/04/1994 14:33:18
Hi
  I recently tried to use makedev to make the /dev/view0? files 
on my system only to find that it doesnt quite work.  The shell
scripting is a little bit above my level of shell programming
(and more then I'd care to know :) but it seems to be that the
unit variable is getting set to the position into the string of
the unit number not the actual unit number itself, ie:

   makedev view2

will set the unit variable to 5 and

   makedev view02

will set unit to 6.  Weird?  Anyway all of this will cause the 
'case $unit in' construct to go to the error case *) instead
of doing any work.

                                Tim N. 


------------------------------------------------------------------------------