OESF Portables Forum

Everything Else => Zaurus Distro Support and Discussion => Distros, Development, and Model Specific Forums => Archived Forums => Angstrom & OpenZaurus => Topic started by: the_oak on February 24, 2004, 11:06:16 pm

Title: cannot get rid of huge core dump!
Post by: the_oak on February 24, 2004, 11:06:16 pm
I have installed OZ 3.2 and been enjoying it until I installed the wrong version (I presume) of Jeode to \"/dev/root\". Now I have a 41 MB core dump in /proc/kcore. At least I think that is what is taking up all of my root partition. I have tried rm -f /proc/kcore, but it says \"operation not permitted\". How do I get rid of this file?
Title: cannot get rid of huge core dump!
Post by: mrdavv on February 25, 2004, 01:02:03 am
/proc/kcore is not the file that is taking up the space.  /proc/kcore is a _virtual_ file that takes no space on your physical filesystem.  It is a representation of the physical RAM in your computer (possibly used for debugging purposes -- this is out of my realm of knowledge).  It is the same size as the physical ram detected by your kernel.  All Linux systems will have this file present.  If you have 512 Megs of RAM, then this file will also be 512 Megs in size; the same is true for the Zaurus.  Therefore, some other file(s) is(are) taking up the space.
Title: cannot get rid of huge core dump!
Post by: derekp on February 25, 2004, 08:37:58 am
If you want to find out what is taking up the space, then cd to /, and run du -ks *
This will show disk usage for each directory.  Then look for the biggest one, cd to that, and run the same command until you walk the directory tree down to the culprit. (Of course, exclude virtual filesystems such as proc).
Title: cannot get rid of huge core dump!
Post by: the_oak on February 25, 2004, 10:44:49 am
I knew there was such a command, but could not remember what it was. Thanks very much!!