fam: hogs removable media so that it cannot be unmounted

Matt Zimmerman mdz at ubuntu.com
Wed Jan 19 21:14:14 UTC 2005


On Sat, Nov 27, 2004 at 10:01:49PM -0800, Nick Moffitt wrote:

> Package: fam
> Version: 2.7.0-5ubuntu2
> Severity: normal
> 
> 
> I have an iRiver iHP120 (ogg!) that I had previously been using with
> Debian sarge.  I would manually mount, rsync (-rvt --modify-window=1
> works well with VFAT), and then umount.
> 
> I was delighted to discover that when I plugged my iRiver into the USB
> port on my Ubuntu machine, it immediately mounted as /media/sda1 and up
> popped a nautilus window.  I did my rsyncing (happy to find that it
> mounted under my own UID:GID), and all was well.
> 
> That is, until I tried to umount.  No matter what I did, it said that
> the volume was busy.  I closed all nautilus windows, cd'd out of
> /media/sda1/ and even grepped through /proc to find any processes that
> had the @cwd symlink to the volume.  The only process that showed up in
> "sudo lsof /media/sda1/" was fam.
> 
> I ultimately did a umount -r so that it re-mounted read-only (flushing
> all buffers) and then just yanked the cable.  However, there ought to be
> something in the nautilus "umount volume" menu option that makes fam
> step out of the way before it tries to umount it.

Hoary (the current development branch) now uses gamin instead of fam, and
various other related components have changed.  Can you see if this
behaviour persists in Hoary?

(if you don't want to upgrade, you can try a live CD)

-- 
 - mdz




More information about the ubuntu-users mailing list