LinuxQuestions.org
Welcome to the most active Linux Forum on the web.
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 03-08-2006, 04:57 PM   #1
dain
LQ Newbie
 
Registered: Oct 2003
Posts: 1

Rep: Reputation: 0
Angry Cannot remove kcore


I'm using Mandrake 10.1. Something created /proc/kcore. It is ro and I can't remove it even after I chmod 777 kcore. It's pretty big, how do I get rid of it?

TIA
 
Old 03-08-2006, 05:38 PM   #2
unSpawn
Moderator
 
Registered: May 2001
Posts: 29,331
Blog Entries: 55

Rep: Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529Reputation: 3529
how do I get rid of it?
You don't and you don't need to bother with or delete files in /proc.
proc is a virtual filesystem and doesn't take up any space even if tools say it does.
 
Old 03-08-2006, 05:50 PM   #3
jonaskoelker
Senior Member
 
Registered: Jul 2004
Location: Denmark
Distribution: Ubuntu, Debian
Posts: 1,524

Rep: Reputation: 46
to OP: /proc/kcore is a file "representing" all your ram--so that's why it's so big. Similarly, you have other what you might want to think of as magic file or "pseudo-files", for instance /dev/hda "represents" your entire hard disk. So, if you opened the file in your favorite text editor (do NOT do this--it's just hypothetical), you'd be able to edit the data on your hard disk directly. Also, you have other useful magic files: /dev/zero consists of infinitely many instances of character number zero (which is not "0"; similarly character number 65 is "A" and not "65")--one might conceivable "copy" data from /dev/zero to /dev/hda to blank out the entire hard disk.

I hope this enlightens you more than it confuses you.
 
  


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
/proc/kcore =| nostracosa Linux - General 3 08-20-2005 12:43 AM
how to explore Kcore mohit_garg Linux - Software 1 07-17-2005 09:55 AM
/proc/kcore mithu_sree Linux - General 2 05-14-2005 04:40 AM
how can I delete kcore? cyberdwarf Linux - Software 4 06-11-2004 01:50 PM
can I delete kcore? tobyl Slackware 6 07-01-2003 01:27 PM


All times are GMT -5. The time now is 11:05 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
Facebook: linuxquestions Google+: linuxquestions
Open Source Consulting | Domain Registration