Subject: Re: remove duplication of device majors list.
To: MAEKAWA Masahide <bishop@rr.iij4u.or.jp>
From: Andrew Brown <atatat@atatdot.net>
List: tech-kern
Date: 08/30/2002 09:48:43
>Now I have done almost work for new devsw in gehenna-devsw branch.
>The changes will be merged into mainline after 1.6 is released.
>
>By this changes, the device majors are listed up in majors.<arch>.
>On the other hand, we have another majors list ``MAKEDEV'' in basesrc.
>These two files are maintained by hands.
>
>To make reflect reality to MAKEDEV easy,
>I wrote one tiny awk script ``devmajors.awk'' which generates
>a simple majors list ``MAKEDEV.majors'' and changed MAKEDEV use it.
>
>The samples for i386 are available at:
> http://gehenna.as.wakwak.ne.jp/dev/MAKEDEV
> http://gehenna.as.wakwak.ne.jp/dev/MAKEDEV.majors
> http://gehenna.as.wakwak.ne.jp/dev/devmajors.awk
>
>Any comments/objections/improvements?
>Or do you have better idea?
you're missing the backwards compat opty code, and the pty work that
creates ttyp[ghijklmnopqrstuvwxyzABCDEFGHIJKLMNOPQRSTUVWXYZ].
--
|-----< "CODE WARRIOR" >-----|
codewarrior@daemon.org * "ah! i see you have the internet
twofsonet@graffiti.com (Andrew Brown) that goes *ping*!"
werdna@squooshy.com * "information is power -- share the wealth."