Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 22 Apr 1998 03:14:08 +1000
From:      Bruce Evans <bde@zeta.org.au>
To:        brian@Awfulhak.org, brian@FreeBSD.ORG
Cc:        cvs-all@FreeBSD.ORG, cvs-committers@FreeBSD.ORG, cvs-sys@FreeBSD.ORG, julian@whistle.com
Subject:   Re: cvs commit: src/sys/gnu/i386/isa dgb.c
Message-ID:  <199804211714.DAA06292@godzilla.zeta.org.au>

next in thread | raw e-mail | index | archive | help
>What's the rationale behind the new names ?
>
>  dgbN.N
>  idgbN.N
>  ldgbN.N
>  dgbcuaN.N
>  idgbcuaN.N
>  ldgbcuaN.N

They are just wrong.  The wrong names were introduced in rev.1.10
(1995/12/08) of dgb.c and never fixed.  Wrong ownerships and
permissions were introduced then too.  I fixed many similar bugs,
but only for devices created by `sh MAKEDEV all'.

>I prefer these names to the old {cua,tty}D* ones as they're more 
>intuitive, but maybe they ought to be

The above names don't sort very well.

>  dgbttydN
>  dgbttyidN
>  dgbttyldN
>  dgbcuaaN
>  dgbcuaiaN
>  dgbcualaN
>
>so that they're also a bit more consistent with sio ?

They must be consistent with MAKEDEV.  The last 2 or 3 characters of the
names for the non-control must uniquely indentify the device for use in
ps, etc.

Bruce

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe cvs-all" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?199804211714.DAA06292>