[NTLUG:Discuss] Getting rid of a core with a link
Greg Edwards
greg at nas-inet.com
Sat Sep 10 14:30:10 CDT 2005
Russ wrote:
> I'm seeking assistance with a situation that I don't understand.
>
> I've got a core file that was created when a power outage (no UPS)
> occurred during an update of my Linux system. Pardon my description
> if it isn't clear. I'd like to get rid of it because it's a 2.7 mB
> file on a 8 mB hard drive. It's owned by root and exists as link to
> /proc/kcore.
>
> This the status of the core:
>
> lrwxrwxrwx 1 root root 11 2005-09-09 09:30 core -> /proc/kcore
>
Is this a link in /dev to /proc/kcore? If so I think you better leave it
alone ;) If you're thinking to getting rid of /proc/kcore, don't.
/proc/kcore
This file represents the physical memory of the system
and is
stored in the ELF core file format. With this
pseudo-file, and
an unstripped kernel (/usr/src/linux/vmlinux) binary, GDB
can be
used to examine the current state of any kernel data
structures.
The total length of the file is the size of physical
memory
(RAM) plus 4KB.
--
Greg Edwards
New Age Software, Inc. - Software Engineering Services
http://www.nas-inet.com
More information about the Discuss
mailing list