Re: mgetty и bforce

From
Ivan Shmakov (2:5002/75.3)
To
Zell
Date
2005-08-21T17:19:02Z
Area
RU.UNIX.FTN
From: Ivan Shmakov <Ivan.Shmakov@p3.f75.n5002.z2.fidonet.org>

>>>>> "Z" == Zell  <Zell@p777.f1532.n5030.z2.fidonet.org> writes:

 EI> снова. Нормально соединяется. wvdial дозванивается всегда
 EI> нормально. Если убрать mgetty со стрема, bforce звонит нормально.
 EI> Кто сталкивался с подобным. Чем лечить ?

 Z> нету разницы в описаных утройствах (в одном месте /dev/modem, в
 Z> другом /dev/ttyS0) ?

	BTW, куда лучше придерживаться рекоммендаций devices.txt из
	дистрибутива Linux при написании ПО, работающего с lock-файлами.

--cut: linux-2.4.31/Documentation/devices.txt--
	Serial ports

[...]

Arbitration of serial ports is provided by the use of lock files with
the names /var/lock/LCK..ttyX#.	 The contents of the lock file should
be the PID of the locking process as an ASCII number.

It is common practice to install links such as /dev/modem
which point to serial ports.  In order to ensure proper locking in the
presence of these links, it is recommended that software chase
symlinks and lock all possible names; additionally, it is recommended
that a lock file be installed with the corresponding alternate
device.	 In order to avoid deadlocks, it is recommended that the locks
are acquired in the following order, and released in the reverse:

	1. The symbolic link name, if any (/var/lock/LCK..modem)
	2. The "tty" name (/var/lock/LCK..ttyS2)
	3. The alternate device name (/var/lock/LCK..cua2)

In the case of nested symbolic links, the lock files should be
installed in the order the symlinks are resolved.
--cut: linux-2.4.31/Documentation/devices.txt--
--- ifmail v.2.15
 * Origin: Microsoft-free station (2:5002/75.3@fidonet)
SEEN-BY: 46/50 50/203 400/814 450/186 247 1024 451/30 454/9 465/285 469/418
SEEN-BY: 4646/15 5000/5000 5001/5001 5002/50 75 79 87 5003/57 5010/53 5011/13
SEEN-BY: 5012/23 46 5015/10 28 5019/31 5020/154 175 400 545 715 758 830 937
SEEN-BY: 5020/1523 1604 2020 2142 2238 2871 4441 5021/29 5022/128 5025/3 750
SEEN-BY: 5026/45 5027/16 5030/49 115 436 556 966 1063 1900 5031/47 70 5035/38
SEEN-BY: 5036/34 5040/47 5042/13 5049/50 5053/16 5054/1 8 9 18 37 45 63 67 81
SEEN-BY: 5059/9 37 5060/3 5061/120 5062/1 10 5063/3 5067/2 5069/7 5070/1222
SEEN-BY: 5077/70 5080/80 1003 5083/21 5085/13 5090/108 113 5092/1 5095/20
SEEN-BY: 5096/18 5099/11 6000/12 254 6001/10 6090/1
PATH: 5002/75 50 5020/4441 545 5054/1 37