From: Alan Storey (astorey@NeoSoft.com)
Date: 08/23/93


From: astorey@NeoSoft.com (Alan Storey)
Subject: Re: /dev/tty (Whatis it for?)
Date: Mon, 23 Aug 1993 22:31:31 GMT


I believe that /dev/tty is a pseudo device used to open any free
tty (is this correct?).

I have the same problem under Linux 99.PL10 on my laptop. The process
works fine on my desktop unit though.

The actual problem occurs on the open call (per ptrace)

open("/dev/tty", RDONLY, 666) = -512

-512 is the error code ERESTARTSYS. I think that in this instance there is
a problem with the locking mechanism between /dev/cuax and /dev/ttySx.

Perhaps someone with more knowlege and a little free time might be able to
explain the problem or fix it.

In the meantime I suggest you replace the /dev/tty entry and use /dev/cua1
instead of ttyS1 as your tty for getty.

Alan

-- 
--- Alan Storey
--- astorey@NeoSoft.com