Skip site navigation (1)Skip section navigation (2)
Date:      Thu, 11 Sep 2003 23:05:10 +0200
From:      "Poul-Henning Kamp" <phk@phk.freebsd.dk>
To:        Bruce Evans <bde@zeta.org.au>
Cc:        cvs-all@FreeBSD.org
Subject:   Re: cvs commit: src/etc/etc.sparc64 ttys 
Message-ID:  <2113.1063314310@critter.freebsd.dk>
In-Reply-To: Your message of "Fri, 12 Sep 2003 06:56:08 %2B1000." <20030912063325.A1562@gamplex.bde.org> 

next in thread | previous in thread | raw e-mail | index | archive | help
In message <20030912063325.A1562@gamplex.bde.org>, Bruce Evans writes:

>Other uart(4) bugs in this area:
>- the cua* devices are named uart*.  I think ps(1), etc. strip off the
>  first 3 characters of device names, so uart0 becomes t0.

Yes, this is an ancient and bogus convention which will wreck havoc
in a number of surprising ports of broken.

>The initial state devices or equivalent functionalty are more important
>than the cua devices IMO.

If it is possible to set cua behaviour using stty (on the initial
state device) cua devices would be unnecessary and should probably
be avoided.

>Appart from this, all devices on device driver foo should be named
>foo<number>, and no driver names should be longer than "foo".

While 17576 device drivers would be enough for some time, I am not
sure we have the necessary mechanics to control or enforce them
being unique and I resist having to come up with a bogus TLA name
for a device in the cases where the vendor has already established
a perfectly good bogus name of a diffrent length for their device.

See for instance sys/dev/musycc

-- 
Poul-Henning Kamp       | UNIX since Zilog Zeus 3.20
phk@FreeBSD.ORG         | TCP/IP since RFC 956
FreeBSD committer       | BSD since 4.3-tahoe    
Never attribute to malice what can adequately be explained by incompetence.



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