leaves behind /dev/loop[n] devices and mounted isos

Bug #731379 reported by Rachel Greenham on 2011-03-08
24
This bug affects 5 people
Affects Status Importance Assigned to Milestone
usb-creator (Ubuntu)
Medium
Unassigned

Bug Description

Binary package hint: usb-creator

I used this to create a couple of USB boot systems. That all went fine, but afterwards, for each one, I was left with a loopback device visible in the unity launcher and the disk utility. They're not mounted, and attempting to mount them fails (showing this in disk utility:

Error mounting: mount: wrong fs type, bad option, bad superblock on /dev/loop0,
       missing codepage or helper program, or other error
       (could this be the IDE device where you in fact use
       ide-scsi so that sr0 or sda or so is needed?)
       In some cases useful info is found in syslog - try
       dmesg | tail or so
)

Looks like some cleanup wasn't done when usb-creator finished (it has been closed normally, the loop devices remain). And now there's no readily apparent way to make them go away. :-)

ProblemType: Bug
DistroRelease: Ubuntu 11.04
Package: usb-creator-gtk 0.2.28
ProcVersionSignature: Ubuntu 2.6.38-5.32-generic 2.6.38-rc6
Uname: Linux 2.6.38-5-generic x86_64
NonfreeKernelModules: nvidia
Architecture: amd64
Date: Tue Mar 8 15:17:49 2011
InstallationMedia: Ubuntu 10.04 LTS "Lucid Lynx" - Release amd64 (20100429)
PackageArchitecture: all
ProcEnviron:
 LANGUAGE=en_GB:en
 PATH=(custom, user)
 LANG=en_GB.UTF-8
 SHELL=/bin/bash
SourcePackage: usb-creator
UpgradeStatus: Upgraded to natty on 2011-02-26 (10 days ago)

Unsurprisingly, but confirmed, the devices, and the icons in unity-launcher, persist after logging out and logging in again.

Launchpad Janitor (janitor) wrote :

Status changed to 'Confirmed' because the bug affects multiple users.

Changed in usb-creator (Ubuntu):
status: New → Confirmed
Brian Murray (brian-murray) wrote :

These are also visible by looking at the output of 'cat /etc/mtab':

/dev/loop0 /tmp/tmpl1gKA2 iso9660 ro 0 0
/dev/loop1 /tmp/tmpJMBvF6 iso9660 ro 0 0
/dev/loop2 /tmp/tmp9zIPVJ iso9660 ro 0 0

This is still an issue with the Quantal version (0.2.40ubuntu1) of usb-creator.

tags: added: quantal
Changed in usb-creator (Ubuntu):
importance: Undecided → Medium
status: Confirmed → Triaged
summary: - leaves behind /dev/loop[n] devices that can't be removed from unity
- launcher
+ leaves behind /dev/loop[n] devices and mounted isos
Manish-Raj (twas6263) wrote :

This bug is still present in Ubuntu 13.10 Alpha 1 with usb-creator-gtk version 0.2.48 installed.

tags: added: saucy
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers