Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 21 Apr 1998 00:56:19 -0700 (PDT)
From:      Julian Elischer <julian@whistle.com>
To:        Brian Somers <brian@Awfulhak.org>
Cc:        Brian Somers <brian@FreeBSD.ORG>, cvs-committers@FreeBSD.ORG, cvs-all@FreeBSD.ORG, cvs-sys@FreeBSD.ORG
Subject:   Re: cvs commit: src/sys/gnu/i386/isa dgb.c 
Message-ID:  <Pine.BSF.3.95.980421004024.20470D-100000@current1.whistle.com>
In-Reply-To: <199804210659.HAA12963@awfulhak.org>

next in thread | previous in thread | raw e-mail | index | archive | help
Basically I supply the methods and it's up to each driver writer to
supply the policy. I really don't care how they are named.
you could even call them dgbX/X or locked/dgbX.X  initial/dgbX.X
or:
dgbX.X/tty
dgbX.X/locked
dgbX.X/initial
dgbX.X/cua
that would work just as well.
or even:
/dev/dgbX/portX/locked
or /dev/dgbX/locked/portX
...
it's up to you.. :-) (helpful aren't I?)



> What's the rationale behind the new names ?
> 
>   dgbN.N
>   idgbN.N
>   ldgbN.N
>   dgbcuaN.N
>   idgbcuaN.N
>   ldgbcuaN.N
> 
> I prefer these names to the old {cua,tty}D* ones as they're more 
> intuitive, but maybe they ought to be
> 
>   dgbttydN
>   dgbttyidN
>   dgbttyldN
>   dgbcuaaN
>   dgbcuaiaN
>   dgbcualaN
> 
> so that they're also a bit more consistent with sio ?
> 
> Anyone 
use subdirectories for special ones?

dgbX.tty[a-p]On Tue, 21 Apr 1998, Brian Somers wrote:
dgbX/locked/port[a-p]
dgbX/initial/port[a-p]
dgbX.cua[a-p]

someone with more flair for naming could think up a 
good naming convention that would allow all the crud names to be hidden
out of /dev.

e.g. /dev/async/dialout-initial/[same name as in /dev]
e.g. /dev/async/dialout-locked/[same name as in /dev]
e.g. /dev/async/incoming-initial/[same name as in /dev]
e.g. /dev/async/incoming-locked/[same name as in /dev]
that would greatly assist in making /dev easier to look at.

julian


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?Pine.BSF.3.95.980421004024.20470D-100000>