Bug 150610 - USBdisk umount fails from shell or Konqueror - sync mount by default
Summary: USBdisk umount fails from shell or Konqueror - sync mount by default
Status: VERIFIED FIXED
Alias: None
Product: SUSE LINUX 10.0
Classification: openSUSE
Component: Hotplug (show other bugs)
Version: Final
Hardware: PC SuSE Linux 10.0
: P5 - None : Normal
Target Milestone: ---
Assignee: Ihno Krumreich
QA Contact: E-mail List
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2006-02-13 21:14 UTC by Jock Hall
Modified: 2007-06-05 10:56 UTC (History)
3 users (show)

See Also:
Found By: Customer
Services Priority:
Business Priority:
Blocker: ---
Marketing QA Status: ---
IT Deployment: ---


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Jock Hall 2006-02-13 21:14:46 UTC
When you right click on usbdisk in KDE My Computer and select Safely Remove you get Error - kio_media_mounthelper > umount: /media/usbdisk is not in the fstab (and you are not root)  Also umount /media/usbdisk fails with 'not in fstab' from root shell.  tail -n50 -f /var/log/messages shows continuous mount/umount activity.  This confirms usbdisks are mounted sync by default - see
https://bugzilla.novell.com/show_bug.cgi?id=105871#c63
and
http://lkml.org/lkml/2005/5/13/144
I think sync automount for USB mass storage risks damage to FAT formatted devices, which includes Windows format iPods and digital cameras.  Disabling the sync option increases write speed about X10. 
http://forums.gentoo.org/viewtopic-p-2700474.html#2700474
(use /usr/share/ha/fdi/10osvendor for suse10)
Comment 1 Ihno Krumreich 2006-02-15 11:40:08 UTC
So whats the problem now?
Comment 2 Tomaz Hrescak 2006-02-16 13:56:23 UTC
The Jock's point is:

Unmounting auto mounted USB mass storage devices using KDE Safely Remove option yelds an error message, because it does not support subfs mounts.

Users will think something is wrong with their external drives.

A possible solution might be to display a dialog saying "This device can be safely removed anytime." :)
Comment 3 su zu 2006-02-20 15:07:23 UTC
87,98c87
<               if (medium.isMounted())
<               {
<                       KIO::Job * job = KIO::unmount( mount_point );
<
<                       m_device = device;
<                       connect( job, SIGNAL( result( KIO::Job * ) ),
<                                this, SLOT( slotResultSafe( KIO::Job * ) ) );
<               }
<               else
<               {
<                       invokeEject(device, true);
<               }
---
>               invokeEject(device, true);
seems that the kio "helper" is not helping too much here.

Since kde seem reluctant to resolve this issue which was first posted over a year ago, it would seem incumbant on SuSE that choose to distribute this desktop package as the cornerstone of their installations should insure that it functions correctly.

This affects all mountable removable media not just usb sticks. It is very visible and is actually presenting users with a messy broken interface.

Seasoned users may well deal with this but this would not seem to be the target market for SuSE.

Please FIXME ;)
Comment 4 Ihno Krumreich 2006-06-02 17:17:44 UTC
This is fixed in 10.1
Comment 5 Ihno Krumreich 2007-06-05 10:56:40 UTC
Closed.