Bug 86887 - disable fam when not displaying a directory
Summary: disable fam when not displaying a directory
Status: RESOLVED DUPLICATE of bug 78322
Alias: None
Product: konqueror
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Compiled Sources Linux
: NOR normal
Target Milestone: ---
Assignee: Konqueror Developers
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2004-08-10 08:59 UTC by Kevin Gilbert
Modified: 2004-08-11 01:51 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Kevin Gilbert 2004-08-10 08:59:47 UTC
Version:            (using KDE KDE 3.2.92)
Installed from:    Compiled From Sources
OS:                Linux

Would it be possible to change Konqueror (file browser mode) to disable the 'fam' interface for directories that are no longer being display.

The motivation for this is removable media - 'umount' commands fail because the mount point is busied by fam on behalf on konqueror. The work-around is to 'bounce' konqueror then retry the 'umount' command - all very messy.
Comment 1 Stephan Kulow 2004-08-10 12:11:22 UTC
actually it's not supposed to watch directories not visible, so there must be a bug. Did you call fuser on the device to find out what process is blocking the device?
Comment 2 Kevin Gilbert 2004-08-11 01:29:16 UTC
1) The problem is visible on my USB flash drive, mount point /mnt/flash
2) If I use konqueror to manipulate the files on the flash drive, fam locks the mount point
3) Instead of 'fuser' I use 'lsof | grep flash'
4) Just tried a test:
   a) when konqueror is positioned at the mount point, the output from lsof shows fam accessing the mount point and all first level subdirectories
   b) when I move konqueror to my home directory, lsof reports that fam is only accessing the mount point - the first level subdirectories are no longer being monitored

So I guess it is a bug after all.
Comment 3 Germain Garand 2004-08-11 01:51:08 UTC
please transfer your votes on #78322

*** This bug has been marked as a duplicate of 78322 ***