LinuxQuestions.org
Share your knowledge at the LQ Wiki.
Go Back   LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie
User Name
Password
Linux - Newbie This Linux forum is for members that are new to Linux.
Just starting out and have a question? If it is not in the man pages or the how-to's this is the place!

Notices


Reply
  Search this Thread
Old 07-23-2003, 06:27 AM   #1
hornokplease
LQ Newbie
 
Registered: Jul 2003
Posts: 21

Rep: Reputation: 15
Question Can't delete file 'kcore'


There is a file which looks like this in /proc. I need to delete it since there is hardly any space on my 4GB hard disk. (I think this is a core dump and not useful)

-r-------- 1 root root 140939362 kcore

I am unable to delete it. I have already tried the following.

-> rm -f kcore
Cannot unlink: insufficient permissions

-> chmod 777 kcore
no error message but permissions remain the same

-> chown user1 kcore
Nope couldn't change the user.

-> Tried from the gnome file manager by right clicking trying to delete, change properties etc. but to no avail.

Am i doomed to live with this obscencely large file forever?

Thanks in advance for your solutions.
 
Old 07-23-2003, 06:34 AM   #2
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
/proc does not actually exist, it is just system information created as part of your file system for easy access. kcore is not a real file. (i think it's actually the RAM, not sure though)
 
Old 07-23-2003, 06:40 AM   #3
hornokplease
LQ Newbie
 
Registered: Jul 2003
Posts: 21

Original Poster
Rep: Reputation: 15
Chris, I restarted the system twice. This file first appeared after gnome crashed on me.

I too read (in Bach maybe?) that proc wasn't real but thought maybe things have changed since then.

What do you suggest? Should i leave it be?
 
Old 07-23-2003, 06:49 AM   #4
acid_kewpie
Moderator
 
Registered: Jun 2001
Location: UK
Distribution: Gentoo, RHEL, Fedora, Centos
Posts: 43,417

Rep: Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985Reputation: 1985
like i said it is NOT a real file.

i went searching on google for a full guide for you.. but look where google sent me...

http://www.linuxquestions.org/questi...threadid=14251
 
  


Reply


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is Off
HTML code is Off



Similar Threads
Thread Thread Starter Forum Replies Last Post
how can I delete kcore? cyberdwarf Linux - Software 4 06-11-2004 12:50 PM
Tried to delete file as root but it says I don't have permission to delete it! beejayzed Mandriva 23 03-12-2004 02:46 AM
909 mb kcore file in proc rrodden111 Linux - General 7 07-24-2003 07:14 PM
can I delete kcore? tobyl Slackware 6 07-01-2003 12:27 PM
deleting kcore file? megaspaz Linux - General 1 11-07-2002 04:33 AM

LinuxQuestions.org > Forums > Linux Forums > Linux - Newbie

All times are GMT -5. The time now is 04:58 PM.

Main Menu
Advertisement
My LQ
Write for LQ
LinuxQuestions.org is looking for people interested in writing Editorials, Articles, Reviews, and more. If you'd like to contribute content, let us know.
Main Menu
Syndicate
RSS1  Latest Threads
RSS1  LQ News
Twitter: @linuxquestions
Open Source Consulting | Domain Registration