Dialin/out mgetty in IRIX 6.5

Gert Doering (gert@greenie.muc.de)
Fri, 7 May 1999 18:44:41 +0200


Hi,

(I'm copying the mgetty list on this - there are IRIX users out there)

On Fri, May 07, 1999 at 09:34:08AM +0200, Marco Masotti wrote:
> Mgetty (even the latest version) seems to ignore the lock files ,
> although I'm pretty sure the  locks directory is correct.

Definitely not.  You just have to make sure that all programs agree
on the name of the lock files...

> What mgetty actually does is to ignore the LCK.ttyf2 lock file created
> by the dial-out program, and comes across with its own file, like
> LK.000.000.0.091, trying to answer an incoming call while it has to let
> another one to call out instead.

This is a typical file name mismatch - on SVR4, the naming convention
for lock files is LK.<device major>.<device minor>.<inode number>
or something like that, while on other systems, the name of the
device is used for the lock file name (LCK..tty<x>).

Now I don't know IRIX, but it seems to define SVR4 in its C compiler, so
mgetty picks the lock file type for SVR4 - and your unnamed dial-out
program uses SVR3 locking strategy.  Is this dial-out program something
you have compiled yourself?  If yes, change this to SVR4 style locking 
- if no, find out why IRIX is #define'ing SVR4 and then teach mgetty
to not use SVR4 style locking...

As I didn't get any Irix trouble reports yet, I guess that this is
a compiled-yourself dial-out program, and using system tools (like
"cu -l ttyf2") would work fine.

gert

-- 
Gert Doering
Mobile communications ... right now writing from *AWAY* :-)) 
... mobile phone: +49 177 2160221 ... or mail me:  gert@greenie.muc.de