vgetty file locking
"Francesco L." (goo@ouverture.it)
Sun, 5 Apr 1998 23:27:55 +0200
I run vgetty from inittab in this way:
S1:2345:respawn:/usr/local/sbin/vgetty -s 38400 modem
modem is a symlink to /dev/ttyS1.
The problem is that I don't see any lockfile for the modem line in /var/lock/
Furthermore if the line is already used by another process (ie pppd which
always creates /var/lock/LCK..modem) vgetty doesn't care about this and it
takes control of the line..
Any suggestions?
ciao,
--
[ Francesco L. <goo@ouverture.it> ][ Powered by Linux 2.0.33 ]
[ Alternate address: didefault@usa.net ][ http://goo.home.ml.org ]
[ Dynamic hostname: artemide.dyn.ml.org ][ ICQ UIN: 5529483 ]
[ To get my PGP PUBLIC KEY send a message to goo+PGP@ouverture.it ]
*** Encripted RSA messages are preferred ***