Comment 4 for bug 19586

Revision history for this message
perpetualrabbit (perpetualrabbit) wrote :

I have another problem with the unmount/mount dialogs in Nautilus, related to the bug.

I have a USB stick with four partitions on it. Inserting it in a hardy desktop machine results in the machine mounting these four partitions nicely under /media/disk, /media/disk-1, /media/disk-2, /media/disk-3 respectivily.
So far so good.
But I only need some files from the first partition, so I unmount the other three using the right-click menu in Nautilus on them.

Problem 1:
   In the sidebar, the icons for these three unmounted disks do not change, so I cannot tell if they are unmounted

Problem 2:
   Worse, if I right-click on the disk again, `Unmount Volume´ is still an option, it is not greyed-out. Clicking it results in a popup which says "Cannot unmount volume. The volume is not mounted". Unmounting it should not have been an option in the first place.

Problem 3:
   I decide I need a file from partition 2 after all, so I need to mount it again, but there is no option in the right-click menu to do that.

Problem 4:
   So, OK, I cannot convince nautilus to remount my partitions, so I manually find out which shells and programs are currently using the remaining mounted partition and close them, and now unmount the first partition. Then I remove the USB stick, wait a couple of seconds and re-insert it.
In the current Nautilus window the four disks do not disappear when I pull the USB stick out. When I re-insert it, another four disks appear. Now there are eight! Four of them are non functional, and the other four are, but there is nothing to diffirentiate between them except by trial and error.
The `reload´ button in the Nautilus toolbar also does not solve the problem. However if I start a _new_ nautilus window it does show the correct information. And if I go to `computer´ it shows me the four (not eight) partitions as disks, and right clicking on each of them presents me with a menu that has a unmount option.
So re-inserting aparantly did result in remounting all partitions after all. At least in the Location:computer:///
part of Nautilus. So I right-click unmount them all again. Now the icons in the main pane _do_ change from a flat harddisk to a bulky rounded harddisk. In the sidebar the disks disappear. However, in other Nautilus windows they do not disappear. Also there is a problem in the Location:computer:/// interface, namely that disk I unmounted in it now have right-click menus that show both a mount and an unmount button!

Anyway, this is problably a highly confusing bug report for anyone to follow, so I recommend anyone who reads this to try it out yourself with a few USB sticks, or else with a partitioned one (easier).

I would characterize this bug as "inconsistencies between separate Nautilus windows, the sidebars and the Location:computer:/// interface concerning the mounting and unmounting of removable media".