begin quote On Thu, 01 Jan 2004 17:19:55 +0100 Peter Eis <[EMAIL PROTECTED]> wrote:
> Goran Kavrecic wrote: > > >OK, > > > >'lsof | grep /mnt' returns: > >fam 801 goran 37r DIR 22,0 2048 411422720 > >/mnt/cdrom > > > > > >But I suppose I need this one. Don't I? > > > Well, from the man page it sounds to me like 'fam' is some kind of > monitor program to check for file changes. Probably it has been > startet by mozilla when you where visiting the cd. > I think it should be save to kill the process which locks the cd. > Anyhow it would be nice if someone could jump in to enlighten us in > the behaviour of fam (in the standard settings fam should release the > file after 5 sec. if no client is using it, so there must be some > program which still has a connection open)? > > Peter Actually its because the DNotify behaviour that makes fam do lock the device with a file descriptor (kernel bug/misfeature). what I don't understand is why fam doesn't shut down after access, as this is a bug that tends to pop up once in a while. The 5 second delay has nothing to do with this, but would only cause fam to shut down 5 seconds after being launched in the boot process. Its only useful in cases like xinetd /inetd launched fam. What is a bug is that something appears to keep the reference to fam, or that fam doesn't release the device after invokation. for now : /etc/init.d/fam restart umount /mnt/cdrom Also, updating to the ~x86 version will make this issue "go away" as that version uses polling, not dnotify. (also reduces functionality quite a lot because of the 6 second poll interval ) //Spider -- begin .signature This is a .signature virus! Please copy me into your .signature! See Microsoft KB Article Q265230 for more information. end
pgp00000.pgp
Description: PGP signature