Path: utzoo!utgpu!news-server.csri.toronto.edu!cs.utexas.edu!swrinde!zaphod.mps.ohio-state.edu!usc!apple!voder!pyramid!csg From: csg@pyramid.pyramid.com (Carl S. Gutekunst) Newsgroups: comp.sys.pyramid Subject: Re: In/Out Modem on the same tty port ? Message-ID: <116512@pyramid.pyramid.com> Date: 14 Jun 90 17:51:50 GMT References: <773@massey.ac.nz> Reply-To: csg@pyramid.pyramid.com (Carl S. Gutekunst) Organization: Pyramid Technology Corp., Mountain View, CA Lines: 13 In article <773@massey.ac.nz> GEustace@massey.ac.nz (Glen Eustace) writes: >The tty has crw-rw-rw as its rights but when tip tries to access the >line it gets > >/dev/ttyi20: resource busy >all ports in use > >I must be missing something really simple. Yes. It's called TIOCEXCL. Some process has the tty open (you can use fuser(1M) to find it), and that process has set the exclusive use flag.