[CentOS] Problem unmounting loop device

Wed Jul 13 21:16:42 UTC 2005
Johnny Hughes <mailing-lists at hughesjr.com>

On Wed, 2005-07-13 at 15:33 -0500, Matt Lawrence wrote:
> I'm attempting to build a virtual disk image for qemu of CentOS4 on
> CentOS4. I'm having a problem after using yum --installroot to put a
> minimal filesystem on a partition located within the virtual disk.
> When I go to unmount it, I get "device is busy" errors. I know that I
> haven't left anything using that filesystem and lsof doesn't show
> anything, so I'm wondering if there is some sort of odd problem with
> the loop device. So far, I haven't been able to find anything
> applicable using google. Any ideas?
> 
> -- Matt

use the command:

fuser -m /path/to/mountpoint

it will tell you if any processes are using that location
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 189 bytes
Desc: This is a digitally signed message part
URL: <http://lists.centos.org/pipermail/centos/attachments/20050713/69eb07b0/attachment-0004.sig>