Now I'm seeing that GVolumeManager is emitting the wrong signals when a 
loopback device is mounted or unmounted -- it is emitting exactly the opposite 
signals it should.

First run this test program:
  https://code.launchpad.net/~ayan/+junk/gio-test

This is what I get:

$ ./gio-test &
$ sudo losetup /dev/loop0 /your/favorite.iso
$ sudo mount -t iso9660 /dev/loop0 /mnt
** (process:28520): DEBUG: received drive-disconnected event for '731 MB File'.
** (process:28520): DEBUG: received volume-removed event for 'Ubuntu 10.04 LTS 
amd64'.
$ sudo umount /mnt
** (process:28520): DEBUG: received drive-connected event for '731 MB File'.
** (process:28520): DEBUG: received volume-added event for 'Ubuntu 10.04 LTS 
amd64'.

Note that when you mount the device, we get a drive-disconnected and
volume-removed event and when we unmount the device, we get a drive-
connected and volume-added event.

But when I mount other devices, gio-test displays the expected output.

-- 
nautilus not removing device after unmount
https://bugs.launchpad.net/bugs/548546
You received this bug notification because you are a member of Ubuntu
Bugs, which is subscribed to Ubuntu.

-- 
ubuntu-bugs mailing list
ubuntu-bugs@lists.ubuntu.com
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to