I played around with it a bit more and I think the error (now?) only occurs on SD-cards with multiple partitions.
$ gnome-mount -b -v -u -d /dev/sdb1
gnome-mount 0.8
** (gnome-mount:24678): DEBUG: Unmounting /org/freedesktop/Hal/devices/volume_uuid_481F_CDCE
** (gnome-mount:24678): DEBUG: Setting up 750ms timer for Flushing Cache dialog
** (gnome-mount:24678): DEBUG: in unmount_done : user_data = 0x0
** Message: Unmount failed for /org/freedesktop/Hal/devices/volume_uuid_481F_CDCE: org.freedesktop.Hal.Device.Volume.UnknownFailure : Cannot remove directory
SD-card with 2 partitions:
$ ls -l /media
total 7
lrwxrwxrwx 1 root root 6 2008-03-12 12:46 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2008-05-07 15:31 cdrom0
drwx------ 4 excogitation root 1536 1970-01-01 01:00 disk
drwxr-xr-x 17 root root 1024 2008-06-21 11:58 disk-1
I played around with it a bit more and I think the error (now?) only occurs on SD-cards with multiple partitions. mount:24678) : DEBUG: Unmounting /org/freedeskto p/Hal/devices/ volume_ uuid_481F_ CDCE mount:24678) : DEBUG: Setting up 750ms timer for Flushing Cache dialog mount:24678) : DEBUG: in unmount_done : user_data = 0x0 p/Hal/devices/ volume_ uuid_481F_ CDCE: org.freedesktop .Hal.Device. Volume. UnknownFailure : Cannot remove directory
$ gnome-mount -b -v -u -d /dev/sdb1
gnome-mount 0.8
** (gnome-
** (gnome-
** (gnome-
** Message: Unmount failed for /org/freedeskto
-> error
$ gnome-mount -b -v -u -d /dev/sdb2 mount:24691) : DEBUG: Unmounting /org/freedeskto p/Hal/devices/ volume_ uuid_1f44940d_ 4650_40d0_ ae8e_afd45da881 4d mount:24691) : DEBUG: Setting up 750ms timer for Flushing Cache dialog mount:24691) : DEBUG: in unmount_done : user_data = 0x0 p/Hal/devices/ volume_ uuid_1f44940d_ 4650_40d0_ ae8e_afd45da881 4d: org.freedesktop .Hal.Device. Volume. UnknownFailure : Cannot remove directory
gnome-mount 0.8
** (gnome-
** (gnome-
** (gnome-
** Message: Unmount failed for /org/freedeskto
-> error
Standard SD-card:$ ls -l /media (named 0151024EUR5)
total 20
drwx------ 5 excogitation root 16384 1970-01-01 01:00 0151024EUR5
lrwxrwxrwx 1 root root 6 2008-03-12 12:46 cdrom -> cdrom0
drwxr-xr-x 2 root root 4096 2008-05-07 15:31 cdrom0
$ gnome-mount -b -v -u -d /dev/sdb mount:22768) : DEBUG: Unmounting /org/freedeskto p/Hal/devices/ volume_ uuid_CC76_ 8152 mount:22768) : DEBUG: Setting up 750ms timer for Flushing Cache dialog mount:22768) : DEBUG: in unmount_done : user_data = 0x0
gnome-mount 0.8
** (gnome-
** (gnome-
** (gnome-
Unmounted /dev/sdb
-> no errors (works as it should)
$ gnome-mount -b -v -u -d /dev/sdb mount:22780) : DEBUG: Unmounting /org/freedeskto p/Hal/devices/ volume_ uuid_CC76_ 8152 mount:22780) : DEBUG: Setting up 750ms timer for Flushing Cache dialog mount:22780) : DEBUG: in unmount_done : user_data = 0x0 p/Hal/devices/ volume_ uuid_CC76_ 8152: org.freedesktop .Hal.Device. Volume. NotMounted : According to HAL, the volume is not mounted
gnome-mount 0.8
** (gnome-
** (gnome-
** (gnome-
** Message: Unmount failed for /org/freedeskto
-> different errror (also occurs when you doubleclick on the unmount icon in nautilus)