[Bug 20424] nautilus and drivemount applet show icons for ejected devices

bugzilla-daemon at bugzilla.ubuntu.com bugzilla-daemon at bugzilla.ubuntu.com
Sat Jan 7 00:48:24 UTC 2006


Please do not reply to this email.  You can add comments at
http://bugzilla.ubuntu.com/show_bug.cgi?id=20424
Ubuntu | gnome-vfs2





------- Additional Comments From jamesh at canonical.com  2006-01-07 00:48 UTC -------
The weird thing is that when the device is plugged in, we have drive ID 14 like
this:

Drive 14:
    Device type:    harddrive
    Device path:    /dev/sda1
    Activation URI: (null)
    Display name:   USB BAR
    Icon:           gnome-dev-removable-usb
    HAL UDI:        /org/freedesktop/Hal/devices/volume_uuid_3183_BC82
    User visible:   true
    Connected:      true
    Mounted:        true

    Volume 29:
        Volume type:     mountpoint
        Device type:     harddrive
        Device path:     /dev/sda1
        Activation URI:  file:///media/usbdisk
        Filesystem type: vfat
        Display name:    Volume amovible 125,0 Mo
        Icon:            gnome-dev-harddisk-usb
        HAL UDI:         /org/freedesktop/Hal/devices/volume_uuid_3183_BC82
        User visible:    true
        Read only:       false
        Mounted:         true
        Handles trash:   true

And when it is removed, we get this:

Drive 15:
    Device type:    harddrive
    Device path:    /dev/sda
    Activation URI: (null)
    Display name:   USB BAR
    Icon:           gnome-dev-removable-usb
    HAL UDI:        /org/freedesktop/Hal/devices/storage_model_BAR
    User visible:   true
    Connected:      true
    Mounted:        false

So it looks like a volume was unmounted, and the associated drive was removed,
and then a second drive was plugged in.  In the case of unmounting a volume, I'd
expect the drive object to stay the same.  On another note, the drive object
should be referencing /dev/sda in both the mounted and unmounted cases according
to the gnome-vfs model.

-- 
Configure bugmail: http://bugzilla.ubuntu.com/userprefs.cgi?tab=email
------- You are receiving this mail because: -------
You are the QA contact for the bug, or are watching the QA contact.




More information about the desktop-bugs mailing list