Author Topic: cannot get rid of huge core dump!  (Read 2414 times)

the_oak

  • Sr. Member
  • ****
  • Posts: 426
    • View Profile
    • http://
cannot get rid of huge core dump!
« 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?
SL-6000L running Sharp 1.12 rom, (SOLD)
Fujitsu U820 with Windows 7
White Intel MacBook

mrdavv

  • Newbie
  • *
  • Posts: 2
    • View Profile
    • http://
cannot get rid of huge core dump!
« Reply #1 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.

derekp

  • Full Member
  • ***
  • Posts: 154
    • View Profile
cannot get rid of huge core dump!
« Reply #2 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).

the_oak

  • Sr. Member
  • ****
  • Posts: 426
    • View Profile
    • http://
cannot get rid of huge core dump!
« Reply #3 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!!
SL-6000L running Sharp 1.12 rom, (SOLD)
Fujitsu U820 with Windows 7
White Intel MacBook