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 86114 - unmounting of removable devices sometimes fails because of FAM accessing the trash folder in them
unmounting of removable devices sometimes fails because of FAM accessing the ...
Status: RESOLVED DUPLICATE of bug 84919
Product: nautilus
Classification: Core
Component: Trash
0.x.x [obsolete]
Other Linux
: High major
: ---
Assigned To: Nautilus Maintainers
Nautilus Maintainers
: 69706 (view as bug list)
Depends on:
Blocks:
 
 
Reported: 2002-06-21 07:10 UTC by Tuomas Kuosmanen
Modified: 2004-12-22 21:47 UTC
See Also:
GNOME target: ---
GNOME version: 2.0



Description Tuomas Kuosmanen 2002-06-21 07:10:56 UTC
Hmm. I thought I had reported this earlier already, but couldnt find such a
bug anywhere. Hrmh.

I have a firewire harddisk that is very useful for moving things around
between machines etc.
This is set as user mountable, so I can mount and umount it myself as a
regular user. Thus it shows up correctly in the disks -menu in nautilus.

However, there is a problem with unmounting it sometimes. Nautilus
correctly tells me the device is busy and it cannot be unmounted. Looking
at "lsof /mnt/fwdisk" I see a famd monitoring the
/mnt/fwdisk/.Trash-tigert/" folder and this makes umount fail. To "fix" the
problem I need to su to root and kill famd, umount the disk then, and
restart Nautilus (to get FAM working again).

Sometimes it works okay though, but I am not sure if it is simply "if you
have stuff in the trash in the removable device" - it seems less
straightforward. But at least if you dont write to the disk at all it will
usually umount it okay.

In short, this sucks for removable devices, thus setting this "major" - it
is very confusing for non-unix hax0rs to figure out why the "device is
busy" and how to fix it without rebooting.

Also filing this in the "Trash" component since it is more related to that
than to "Desktop" as there is no "removable devices" component.
Comment 1 Jeff Waugh 2002-06-23 09:07:56 UTC
Confirmed, same thing happens with my USB drive. It'll happen to all
sorts of removable devices such as cameras and stuff, which Nautilus
is really sweet for. ;-) I'd say major is appropriate.
Comment 2 Tuomas Kuosmanen 2002-06-23 16:51:38 UTC
It is especially annoying since I need to su root and do the
kill-fam-and-nautilus if I want to unplug the drive to suspend the
laptop for example..

Looks like the problem happens every time if I write to the disk
(rename, delete files, copy new files etc) but does not necessarily
happen if I just mount the disk and read from it without writing
anything there.
Comment 3 Luis Villa 2002-06-26 01:10:40 UTC
*** Bug 69706 has been marked as a duplicate of this bug. ***
Comment 4 Luis Villa 2002-06-26 01:11:06 UTC
Is this the same as what is left of 84919, Dave? 
Comment 5 Luis Villa 2002-07-02 15:13:17 UTC
[Search for 'luis spamming' to catch every instance of this email.]
In order to better track Sun's bugs for Sun and Ximian's internal use, I've
added a temporary keyword to some bugs. I apologize for the spam, and for the
use of an additional keyword, but this is the best way for Sun to track 'it's'
bugs without interfering with the community's own triage and bug behavior. If
you have any questions or objections, please drop me a note at louie@ximian.com
or email bugmaster@gnome.org for more open discussion.
Comment 6 Luis Villa 2002-07-02 18:12:25 UTC
Marking a duplicate of 84919.

*** This bug has been marked as a duplicate of 84919 ***
Comment 7 Ed Halley 2004-02-23 23:00:58 UTC
Added new notes to 84919, which has been marked closed.  Hope to re-open.