When I try to delete a file
sudo rm -rf filename
I get spit back:
rm: filename: Resource is busy
How can I override this? I know for a fact that the resource is not busy. I just want to delete it!
|
When I try to delete a file
I get spit back:
How can I override this? I know for a fact that the resource is not busy. I just want to delete it! |
|||
| show 4 more comments |
|
You have demanded an answer to your question, ignoring all discussion along the way, and providing attitude to boot. I find your comments both ignorant and insulting, given that I am taking time to work through a problem that has absolutely no significance to me. You have also ignored the existing answer by Paul Tomblin where he asks if you have tried So here is my answer: You cannot override this behaviour. The operating system states that it is busy. The operating system is probably correct. The error message could be for these reasons:
As you wish to delete the file, my suggestion has been to boot the machine from a linux image, mount your file system and delete the file. You have not accepted this as a course of action to try. In future, please consider the manner in which you ask for and receive help from others. If you are unwilling to take advice or answer questions, do not ask for help. |
|||
|
|
|
Try |
|||||||
|
|
As other posters say, if you know better then the OS, reboot the system and that will make it forget. But really, they know what they are talking about... |
|||
|
|
-rflag)? Is it perhaps open in a background or zombied process? – paddy Feb 12 at 22:26