[Bug 548546] Re: Nautilus does not remove usb drive made with USB-Creator after unmounting it

Stefan Bader stefan.bader at canonical.com
Tue Jul 26 09:00:37 UTC 2011


The patch to fix the issue currently is queued in linux-next:

commit 23e2632cc815fb6cc38560805a12be586e23a8f1
Author: Phillip Susi <psusi at cfl.rr.com>
Date:   Sat Jul 16 23:31:06 2011 +1000

    Fix the loopback device to emit a uevent on auto release.  The loopback
    driver failed to emit the change uevent when auto releasing the device.
    Fix lo_release() to pass the bdev to loop_clr_fd() so it can emit the
    event.
    
    Cc: Jens Axboe <axboe at kernel.dk>
    Signed-off-by: Phillip Susi <psusi at cfl.rr.com>
    Signed-off-by: Andrew Morton <akpm at linux-foundation.org>

As the merge window has opened, it should likely get into 3.1 from where
we could pick it. I am no sure Ayan's patch would make it (sure one
could try to send it upstream (after removing the unnecessary whiespace
change)) upstream. From the lo_ioctl side bdev is the known (passed in
argument) while lo is not. Theoretically clear could be called before
set and that may or may not be checked for under all circumstances.

-- 
You received this bug notification because you are a member of Ubuntu
Foundations Bugs, which is subscribed to usb-creator in Ubuntu.
https://bugs.launchpad.net/bugs/548546

Title:
  Nautilus does not remove usb drive made with USB-Creator after
  unmounting it

Status in OEM Priority Project:
  Confirmed
Status in “linux” package in Ubuntu:
  Triaged
Status in “usb-creator” package in Ubuntu:
  Invalid
Status in “linux” source package in Lucid:
  Won't Fix
Status in “usb-creator” source package in Lucid:
  Invalid
Status in “linux” source package in Maverick:
  Won't Fix
Status in “usb-creator” source package in Maverick:
  Invalid

Bug description:
  Binary package hint: usb-creator

  After using usb creator in 10.04 to create a image on a usb key. The
  image loop device can still be seen in Nuatilus after use.

To manage notifications about this bug go to:
https://bugs.launchpad.net/oem-priority/+bug/548546/+subscriptions




More information about the foundations-bugs mailing list