Re: Removing a "busy" text file?

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



On Sun, Jan 30, 2005 at 12:19:44PM -0800, Richard S. Crawford wrote:
> On Sunday 30 January 2005 12:11 pm, Mike Klinke flailed at a keyboard and 
> produced this:
> > On Sunday 30 January 2005 13:59, Richard S. Crawford wrote:
> >  
> > > How could the file be busy?  I'm not looking at it in any other
> > > program.  I've tried to delete it in several ways, even su'ing to
> > > root to do so.
> > >
> > > Any thoughts?  What could be causing this, and how can I fix it?
> > 
> > As root, does "lsof <filename>" show any processes associated with 
> > the file?
> 
> # lsof Concerning\ Hobbits.mp3
> 
> yields nothing.  Bah.
> 
[snip]

Try (as root)
lsof | grep "Concerning Hobbits.mp3"


That ought to tell you what PID has the file open
-- 
Gunnar vS Kramm
San Francisco, CA
http://www.thekramms.com

gpg public key:
http://thekramms.com/keys/gkramm.gpg


[Index of Archives]     [Current Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite News]     [Yosemite Photos]     [KDE Users]     [Fedora Tools]     [Fedora Docs]

  Powered by Linux