[Ovirt-devel] [PATCH node-image] edit-livecd: Retry upon failed umount.

Jim Meyering jim at meyering.net
Wed Dec 3 13:57:52 UTC 2008


Dan Kenigsberg <danken at redhat.com> wrote:

> On Tue, Dec 02, 2008 at 06:10:11PM +0100, Jim Meyering wrote:
>>
>> This is useful when you manually edit an image and forget to "cd"
>> out of the working directory.  Without this, the script can't
>> clean up, and it's a pain to do manually.
>>
>
> I'm not sure its related, but would you tell what's the painful manual
> way to clean these
>
> /dev/loop1: [fd00]:6194759 (/tmp/node-image-tmp/imgcreate-XjH6K-/tmp-L816gf/ext3fs.img)
>
> I'm left with after an interrupted make .iso ?

There are usually three of those listed at the bottom of /proc/mounts.
You have to umount them starting with the last one and working "up", e.g.,

  umount /dev/loop3
  umount /dev/loop2
  umount /dev/loop1




More information about the ovirt-devel mailing list