matt -- one more idea. have you recompiled the kernel with automount
support? do you run a user space automounter?
i know that mandrake plays with stuff like this. works well until it
doesn't. then it's a bloody nightmare. :(
i assume you mount/umount as a normal user under X with no gui stuff going
on?
in any event, lsof might be your program.
also -- have you tried to umount as root?
pete
begin: Holland, Matt <[EMAIL PROTECTED]> quote
> I use Blackbox, thank you very much! Sooo... I don't think those pesky
> "environments" are wreaking any havoc.
>
> Thanks for the tip, I'll check the output of lsof and play around with
> fuser.
>
> Matt
>
> -----Original Message-----
> From: Peter Jay Salzman
> To: [EMAIL PROTECTED]
> Sent: 11/13/2001 1:58 PM
> Subject: Re: [vox-tech] cd ejection
>
> matt, are you using gnome or KDE? if so, the best way to fix this
> problem
> (in fact, the best way to fix most of your problems) is apt-get remove
> gnome.
> or apt-get remove kde. ;-)
>
> but seriously.
>
> you can get a list of all open files (hardware are abstracted by files
> on
> unix) by using lsof.
>
> also, fuser might be interesting too. if you do fuser -k -v /cdrom, it
> would be interesting to see if X dies.
>
> pete
>
>
>
>
> begin: Holland, Matt <[EMAIL PROTECTED]> quote
> > One thing that may be helpful is if there is a way to tell which
> processes
> > are talking to which devices (as I understand that removable media
> refuse to
> > eject when some program thinks it's still using them). This seems
> like a
> > sort of information you must be able to get from Linux, but I don't
> know how
> > to get it. Any help would be appreciated.
> >
> > I'm running RedHat 7.1 on an Athlon machine with a Tyan motherboard.
> >
> > Thanks,
> > Matt
>
> --
> "You may not use the Software in connection with any site that
> disparages
> Microsoft, MSN, MSNBC, Expedia, or their products or services ..."
> -- Clause from license for FrontPage 2002
--
"You may not use the Software in connection with any site that disparages
Microsoft, MSN, MSNBC, Expedia, or their products or services ..."
-- Clause from license for FrontPage 2002