GNOME Bugzilla – Bug 104230
Nautilus error' pops up on insertion of formatted floppy.
Last modified: 2005-08-15 01:57:59 UTC
This is specific to Removable Media Manager on Solaris. Steps to reproduce the problem: 1. Format a floppy with UFS file system and label as 'ufs' 2. After completion of format, eject the floppy. 3. Insert the formatted floppy and right clicked on desktop and select 'Disks->Floppy' 4. An 'Error' window pops up and saying that 'Couldn't find "/floppy/<lable>" .Please check the spelling and try again" Note: The Nautilus error pos up with following a)Tried with command line 'volrmount -i/floppy b)Applications->CDE Menu->Folders->Open Floppy But it is working fine with 'volcheck' command.
When user right clicks on the Desktop and chooses the "Disks->Floppy", "volrmmount -i floppy" command is executed. volrmmount first executes rmmount with the help of vold. So mount_path, device_path and /tmp/.removable entries get created. Then it continues and calls rmmount with 'clear_mounts' option, which will remove all the existing mount points for the media. So when gnome-volcheck launches gmedia_format for an unformatted floppy with device path as argument, the device path does not exists which results in the format dialog with blank option menu. Similarly, when gnome-volcheck launches nautilus for a formatted floppy with mount path as argument, the mount path does not exist which results in nautilus error. Later volrmmount remounts the floppy, but gnome-volcheck does not monitor for 'remount' actions. Solution: In nautilus, use 'volcheck' instead of 'volrmmount' to mount the floppy when user clicks on Disks->Floppy. I will attach a patch shortly. But it is not generated against HEAD. If the patch is OK, and if you are ready to take, I will generate it against HEAD and submit it.
Created attachment 13777 [details] [review] Proposed patch
Adding the PATCH keyword.
This patch no longer applies to revision HEAD because <file://cvs.gnome.org/cvs/gnome/nautilus/libnautilus-private/nautilus-volume-monitor.c> does not exist anymore.
Yes, this patch is for fixing removable media related problem in Solaris and does not apply on HEAD anymore. Hence closing the bug. Will raise a new bug if the same problem is found to be there Solaris running HEAD/2.6.