SUMMARY: how do you clear device busy

From: Alan Lichty (lichty@genetics.utah.edu)
Date: Mon Mar 06 1995 - 22:30:19 CST


Once again the list has come through in spades and inundated me with
solutions. The original question:

>The problem is a CD that we want to eject (mounted under vold) keeps
>telling us that the device is busy. We have checked to see that no
>one appears to be connected to any of the directories and we cannot
>determine what process has left us with this status. How do you
>determine what the offending process is and/or how can we clear this
>condition short of rebooting the machine.

I got 2 versions of how to figure out the offending process:

1. The builtin fuser command. (It works :-)

2. The PD utility called lsof. This critter is available via
anonymous ftp from:

ftp.arnes.si:/security/cert/tools/lsof
coast.cs.purdue.edu:/pub/tools/unix/

and does also to the deed.

Thanks to:

Kevin Sheehan {Consulting Poster Child} <Kevin.Sheehan@uniq.com.au>
Neil Greene <neil@bMD.com>
Jas <matt@uts.EDU.AU>
mike-l@hero-uk.demon.co.uk
Dan Transue <odt@lci.com>
Gregory M Polanski <gmp@adc.com>
Greg Price <greg@defcen.gov.au>
Pablo Ruiz <ruiz@babbage.csee.usf.edu>
Glenn Satchell - Uniq Professional Services <Glenn.Satchell@uniq.com.au>
Chris Terry/Computervision <Chris_Terry/Computervision@ausns1.cv.com>
Steve Radford - UGTS <sradford@gisws10.rtpnc.epa.gov>

Alan Lichty
University of Utah School of Medicine
Department of Human Genetics



This archive was generated by hypermail 2.1.2 : Fri Sep 28 2001 - 23:10:17 CDT