After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 104230 - Nautilus error' pops up on insertion of formatted floppy.
Nautilus error' pops up on insertion of formatted floppy.
Status: RESOLVED INCOMPLETE
Product: nautilus
Classification: Core
Component: File and Folder Operations
unspecified
Other Solaris
: Normal normal
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
Depends on:
Blocks:
 
 
Reported: 2003-01-23 14:40 UTC by Narayana Pattipati
Modified: 2005-08-15 01:57 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
Proposed patch (2.08 KB, patch)
2003-01-23 14:58 UTC, Narayana Pattipati
none Details | Review

Description Narayana Pattipati 2003-01-23 14:40:08 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.
Comment 1 Narayana Pattipati 2003-01-23 14:56:12 UTC
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.
Comment 2 Narayana Pattipati 2003-01-23 14:58:33 UTC
Created attachment 13777 [details] [review]
Proposed patch
Comment 3 alexander.winston 2004-01-29 17:52:02 UTC
Adding the PATCH keyword.
Comment 4 alexander.winston 2004-02-16 15:37:39 UTC
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.
Comment 5 Narayana Pattipati 2004-02-17 03:36:13 UTC
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.