Messages in this thread | | | Date | Fri, 4 Dec 1998 23:14:24 -0600 | From | Tymm Twillman <> | Subject | Re: cua* on kernel 2.1 and beyond |
| |
> On Thu, 3 Dec 1998, Tymm Twillman wrote: > > > ln -s /dev/ttyS0 /dev/cua0 > > This is bad! > > A process using /dev/cua0 will create a lockfile named cua0. Another > process wanting to use /dev/ttyS0, will look for a lockfile named > ttyS0. When it is not found, that process will go ahead and open > ttyS0 and collide with the data being transferred on cua0. > > A complex locking routine can be used. See my blurb on lockfiles and > a sample routine to creat either dual lockfiles or single ones. > > This is available from scicom.alphacdc.com via ftp. The tarball is > pub/linux/serial_suite.tgz. > > vern >
Yep, I really bumbled this one up. Apologies for the bad advice.
-Tymm
- To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.rutgers.edu Please read the FAQ at http://www.tux.org/lkml/
| |