Using an up-to-date Feisty:

###############################################
# Step to reproduce the bug
###############################################

1) I plug in my camera.
2) a "Photo import" dialog pops up, I click "Ignore".
3) I browse my pics under "/media/NO NAME/" with nautilus.
4) I close nautilus.
5) I right-click on the "NO NAME" icon on the desktop and choose "Unmount 
volume".
6) an error dialog pops up, with title "Cannot unmount volume", message "Cannot 
unmount the volume 'NO NAME'", and details "Cannot remove directory".
7) At this point "ls /media" shows that there is already no such directory 
left, though.
8) I click ok, and I can continue as usual, no bad consequences.

###############################################
# Content of /media
###############################################

[EMAIL PROTECTED]:~$ ls -ltra /media/
total 48
drwx------  3 nico root 16384 1970-01-01 01:00 NO NAME
drwxr-xr-x  7 root root  4096 2007-02-25 22:15 disk
drwxr-xr-x  2 root root  4096 2007-02-25 23:10 cdrom0
lrwxrwxrwx  1 root root     6 2007-02-25 23:10 cdrom -> cdrom0
--wxr-s--T  1 root root     0 2007-02-25 23:35 .hal-mtab-lock
drwx------  2 root root  4096 2007-03-08 21:47 新增磁碟區
drwx------  2 root root  4096 2007-03-09 01:07 新增磁碟區_
drwx------  2 root root  4096 2007-03-09 01:42 新增磁碟區__
drwxr-xr-x 22 root root  4096 2007-03-16 18:21 ..
-rw-r--r--  1 root root   534 2007-03-17 13:56 .hal-mtab
drwxr-xr-x  8 root root  4096 2007-03-17 13:56 .

[EMAIL PROTECTED]:~$ cat /media/.hal-mtab
/dev/sda1       1001    0       ntfs    noexec,nosuid,nodev,umask=222,utf8      
/media/\346\226\260\345\242\236\347\243\201\347\242\237\345\215\200
/dev/sda1       1001    0       ntfs    noexec,nosuid,nodev,umask=222,utf8      
/media/\346\226\260\345\242\236\347\243\201\347\242\237\345\215\200_
/dev/sda1       1001    0       ntfs    noexec,nosuid,nodev,umask=222,utf8      
/media/\346\226\260\345\242\236\347\243\201\347\242\237\345\215\200__
/dev/sda1       1001    0       ext3    noexec,nosuid,nodev     /media/disk
/dev/sdc1       1001    0       vfat    
noexec,nosuid,nodev,shortname=mixed,uid=1001,utf8,umask=077,exec        
/media/NO NAME

###############################################
# Affected hardware
###############################################

Bug shows up with:
- digital camera Kyocera Finecam SL400R
- external hard drive Lacie Porsche 160 GB
Bug does not show up with:
- USB key unbranded 256 MB
- USB key SanDisk cruzer crossfire 4 GB

###############################################
# How I just worked around the bug
###############################################

1) sudo rm /media/.hal*
2) reboot
3) now it works well ! :-)

Cheers,
Nicolas.

-- 
Unmount fails every time 
https://launchpad.net/bugs/85424

-- 
ubuntu-bugs mailing list
[email protected]
https://lists.ubuntu.com/mailman/listinfo/ubuntu-bugs

Reply via email to