[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: Replacing devices



Torsten Scherer wrote:

>  I clearly see the idea of moving lock-jobs for dial-in or dial-out devices
> from the user to the kernel, but mightn't this can-only-open-device-once be
> an argument against it?

Only /dev/cua0 can be opened only once; you can open /dev/ttyd0 as many
times as you wish. That's nice if you want to send little messages with
write(1) on the other side of the wire. I prefer to think of cua0 as the
"raw" device that allows you to send commands to the modem (and in this
case, you _need_ exclusive access).

Thierry.