Removing a "busy" text file?
Gunnar Kramm
gkramm at speakeasy.net
Sun Jan 30 20:44:29 UTC 2005
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
More information about the fedora-list
mailing list