Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 4 May 1998 02:35:18 +0200
From:      Ollivier Robert <roberto@keltia.freenix.fr>
To:        chat@FreeBSD.ORG
Subject:   Re: device busy...
Message-ID:  <19980504023518.A2789@keltia.freenix.fr>
In-Reply-To: <Pine.BSF.3.96.980503135625.3361A-100000@cybertouch.org>; from Lanny Baron on Sun, May 03, 1998 at 01:58:19PM -0400
References:  <Pine.BSF.3.96.980503135625.3361A-100000@cybertouch.org>

next in thread | previous in thread | raw e-mail | index | archive | help
According to Lanny Baron:
>  Anyone know how to umount a device like a cdrom when umount /cdrom comes
> back with device busy, and you do a ps -aux and see nothing going on with
> the cdrom?

Use lsof from ports to find which processes have opened a file or
device. It is much more usable than our fstat.
-- 
Ollivier ROBERT -=- FreeBSD: The Power to Serve! -=- roberto@keltia.freenix.fr
FreeBSD keltia.freenix.fr 3.0-CURRENT #8: Tue Apr 21 02:45:53 CEST 1998

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-chat" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?19980504023518.A2789>