Re: [HEADSUP] naming of tty devices.
From: Alexey Dokuchaev (danfe_at_nsu.ru)
Date: 09/21/04
- Previous message: Poul-Henning Kamp: "Re: [HEADSUP] naming of tty devices."
- In reply to: Poul-Henning Kamp: "[HEADSUP] naming of tty devices."
- Next in thread: Poul-Henning Kamp: "Re: [HEADSUP] naming of tty devices."
- Reply: Poul-Henning Kamp: "Re: [HEADSUP] naming of tty devices."
- Reply: Eivind Eklund: "Re: [HEADSUP] naming of tty devices."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Date: Tue, 21 Sep 2004 17:42:46 +0700 To: Poul-Henning Kamp <phk@phk.freebsd.dk>
On Mon, Sep 20, 2004 at 09:38:45AM +0200, Poul-Henning Kamp wrote:
>
> My suggestion is the following:
>
> All drivers will offer "tty${something}" devices, and
> generally ${something} will consist of a letter followed
> by a number, possibly in base 36 ([0-9a-z]).
>
> All drivers which attach to external equipment via a serial
> connector should also offer "cua${thesamething}". "Embedded"
> serial ports, pseudo drivers etc, do not have to offer the
> "cua" if DCD state on open is not an issue.
>
> The init and lock devices will be called ${base_device}.[init,lock]
> and they will possibly be provided by on-demand devices so that
> they do not clutter up /dev.
What about contracting `.init|lock' to just `i|l', like we have with all
(most) other device names out there (i.e., acd0t0, not acd0track0) -- long
device names is a thing to avoid, IMHO.
./danfe
_______________________________________________
freebsd-arch@freebsd.org mailing list
http://lists.freebsd.org/mailman/listinfo/freebsd-arch
To unsubscribe, send any mail to "freebsd-arch-unsubscribe@freebsd.org"
- Previous message: Poul-Henning Kamp: "Re: [HEADSUP] naming of tty devices."
- In reply to: Poul-Henning Kamp: "[HEADSUP] naming of tty devices."
- Next in thread: Poul-Henning Kamp: "Re: [HEADSUP] naming of tty devices."
- Reply: Poul-Henning Kamp: "Re: [HEADSUP] naming of tty devices."
- Reply: Eivind Eklund: "Re: [HEADSUP] naming of tty devices."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
Relevant Pages
|