Re: [HEADSUP] naming of tty devices.
From: Poul-Henning Kamp (phk_at_phk.freebsd.dk)
Date: 09/20/04
- Previous message: Roman Kurakin: "Re: [HEADSUP] naming of tty devices."
- In reply to: Roman Kurakin: "Re: [HEADSUP] naming of tty devices."
- Next in thread: Vladimir Grebenschikov: "Re: [HEADSUP] naming of tty devices."
- Reply: Vladimir Grebenschikov: "Re: [HEADSUP] naming of tty devices."
- Reply: Roman Kurakin: "Re: [HEADSUP] naming of tty devices."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]
To: Roman Kurakin <rik@cronyx.ru> Date: Mon, 20 Sep 2004 15:51:52 +0200
In message <414EDF66.8030907@cronyx.ru>, Roman Kurakin writes:
>>> Why not to add some general device enumeration for all devices,
>>>especially
>>>if devices would behave the same?
>>>
>>>tty%{global_port}
>>>cua%{global_port}
>>
>>This doesn't work.
>>
>>There _are_ differences between serial devices and for instance
>>PTYs or NMDM devices have very particular semantics.
>>
>but all tty devices have some generic abilities and behaviour, right?
>(Sorry, I am a bit sio-centric, I didn't ever look inside ptys.)
Yes, and those generic abilities is why I want systematic naming.
But a global numbering gives you no way to know that tty234 is a PTY
and tty235 is a USB device.
-- 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. _______________________________________________ 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: Roman Kurakin: "Re: [HEADSUP] naming of tty devices."
- In reply to: Roman Kurakin: "Re: [HEADSUP] naming of tty devices."
- Next in thread: Vladimir Grebenschikov: "Re: [HEADSUP] naming of tty devices."
- Reply: Vladimir Grebenschikov: "Re: [HEADSUP] naming of tty devices."
- Reply: Roman Kurakin: "Re: [HEADSUP] naming of tty devices."
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ]