Skip site navigation (1)Skip section navigation (2)
Date:      Wed, 04 Jun 1997 07:57:47 -0700
From:      "Tim Oneil" <toneil@visigenic.com>
To:        questions@FreeBSD.ORG
Subject:   Re: Can't umount /cdrom
Message-ID:  <3.0.32.19970604075746.00a02ec0@visigenic.com>

Next in thread | Raw E-Mail | Index | Archive | Help
At 12:06 PM 6/4/97 +0200, you wrote:
>> I have a problem using one of my compact disks.
>> When I try umount it system responds: Device busy
>> but no one at this time using CD. 
>> Any suggestions?
>
>You probably are cd'd to the directory or subdirectories
>of /cdrom. Or you have started a program from the CD.

Yep. I've found, after a little patient searching, that when
this happens to me there is always some little out of the way
process that has the cdrom open. You just have to search through
all your terminals until you find out which one it is. What I do
much of the time is have X running tkdesk in one terminal, look
at the cdrom with the filemgr, then go to a xterm or even
another console and completely forget about the filemgr. Then
I go to umount the rom and *bam*, locked.
Would it be possible to write an X app that will constantly
show the lock status of a cdrom device, maybe show what
process has the lock? That would be useful.

-Tim




Want to link to this message? Use this URL: <http://docs.FreeBSD.org/cgi/mid.cgi?3.0.32.19970604075746.00a02ec0>