Bug 86887

Summary: disable fam when not displaying a directory
Product: [Applications] konqueror Reporter: Kevin Gilbert <kmg952>
Component: generalAssignee: Konqueror Developers <konq-bugs>
Status: RESOLVED DUPLICATE    
Severity: normal    
Priority: NOR    
Version First Reported In: unspecified   
Target Milestone: ---   
Platform: Compiled Sources   
OS: Linux   
Latest Commit: Version Fixed In:
Sentry Crash Report:

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 ***