Re: 2.6.8.1-mm1 Tty problems?

From: Martin Schlemmer
Date: Thu Aug 19 2004 - 14:30:03 EST


On Thu, 2004-08-19 at 19:28, Tonnerre wrote:
> Saut,
>
> On Wed, Aug 18, 2004 at 08:58:37PM +0200, Martin Schlemmer wrote:
> > Ismail, what tries to use /dev/tty anyhow?
>
> It's the standard UN*X way of finding your controlling TTY: open
> /dev/tty and do an isatty on it. So I'd suppose around 90% of the
> console software does that.
>

Yes sorry, I was on drugs.

Greg, below patch should be in order.

---
--- /etc/udev/rules.d/50-udev.rules.orig 2004-08-19 21:17:08.947911536 +0200
+++ /etc/udev/rules.d/50-udev.rules 2004-08-19 21:22:48.804245520 +0200
@@ -65,7 +65,7 @@

# pty devices
KERNEL="pty[p-za-e][0-9a-f]*", NAME="pty/m%n", SYMLINK="%k"
-KERNEL="tty[p-za-e][0-9a-f]*", NAME="tty/s%n", SYMLINK="%k"
+KERNEL="tty[p-za-e][0-9a-f]*", NAME="pty/s%n", SYMLINK="%k"

# ramdisk devices
KERNEL="ram[0-9]*", NAME="rd/%n", SYMLINK="%k"
---

--
Martin Schlemmer

Attachment: signature.asc
Description: This is a digitally signed message part