fam: hogs removable media so that it cannot be unmounted
nick at zork.net
Sun Nov 28 06:01:51 UTC 2004
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.
-- System Information:
Debian Release: testing/unstable
Architecture: i386 (i686)
Kernel: Linux 220.127.116.11-3-686
Locale: LANG=en_US.UTF-8, LC_CTYPE=en_US.UTF-8
Versions of packages fam depends on:
ii libc6 2.3.2.ds1-13ubuntu2.2 GNU C Library: Shared libraries an
ii libgcc1 1:3.4.2-2ubuntu1 GCC support library
ii libstdc++5 1:3.3.4-9ubuntu5 The GNU Standard C++ Library v3
ii lsb-base 1.3-9ubuntu7 Linux Standard Base 1.3 initscript
ii portmap 5-4ubuntu5 The RPC portmapper
-- no debconf information
More information about the ubuntu-users