From owner-freebsd-questions@FreeBSD.ORG Mon Dec 27 22:21:00 2004 Return-Path: Delivered-To: freebsd-questions@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 8ED8616A4CE for ; Mon, 27 Dec 2004 22:21:00 +0000 (GMT) Received: from grog.secure-computing.net (grog.secure-computing.net [63.228.14.241]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1456F43D2F for ; Mon, 27 Dec 2004 22:21:00 +0000 (GMT) (envelope-from ecrist@secure-computing.net) Received: from [192.168.1.100] (c-66-41-157-209.mn.client2.attbi.com [66.41.157.209]) (authenticated bits=0)iBRMKxuk014044 for ; Mon, 27 Dec 2004 16:20:59 -0600 (CST) (envelope-from ecrist@secure-computing.net) Mime-Version: 1.0 (Apple Message framework v619) Content-Transfer-Encoding: 7bit Message-Id: <8F7412A0-5855-11D9-B269-000D9333E43C@secure-computing.net> Content-Type: multipart/signed; protocol="application/pgp-signature"; micalg=pgp-sha1; boundary="Apple-Mail-1--822686519" To: FreeBSD Questions From: Eric F Crist Date: Mon, 27 Dec 2004 16:20:48 -0600 X-Pgp-Agent: GPGMail 1.0.2 X-Mailer: Apple Mail (2.619) Subject: Device busy... X-BeenThere: freebsd-questions@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list List-Id: User questions List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 Dec 2004 22:21:00 -0000 --Apple-Mail-1--822686519 Content-Transfer-Encoding: 7bit Content-Type: text/plain; charset=US-ASCII; format=flowed Hello list, How do I check what process is using a device to kill/rehup it? I output certain syslog events to an Okidata line printer, and every so often, the printer stops printing, and when I try to output to /dev/lpt0, I get a device busy error. thanks _______________________________________________________ Eric F Crist "I am so smart, S.M.R.T!" Secure Computing Networks -Homer J Simpson --Apple-Mail-1--822686519 content-type: application/pgp-signature; x-mac-type=70674453; name=PGP.sig content-description: This is a digitally signed message part content-disposition: inline; filename=PGP.sig content-transfer-encoding: 7bit -----BEGIN PGP SIGNATURE----- Version: GnuPG v1.2.4 (Darwin) iEYEARECAAYFAkHQisAACgkQRAAY9knOW+ockACfehMoiG1GTmD7o+N1j5ET01YJ CVQAoJBr5GjJ2ESDOJEIu1H+akTWyl8Y =ImfO -----END PGP SIGNATURE----- --Apple-Mail-1--822686519--