(Update) kcore file 1GB HD space (need help) !!

ZIYAD A. M. AL-BATLY zamb at saudi.net.sa
Wed Jun 1 04:25:54 BST 2005


On Tue, 2005-05-31 at 18:10 -0600, hrumland at telusplanet.net wrote:
> Hi,
> thanks for the clarification. But what about the  two core files I have in 
> the /dev directory and ./dev directory with a 1GB size (permission 
> inaccessible). Are they related to the virtual file system ????
> 
> Thanks
> 
> Holger
> 
> 
Yes.  They are, in fact, a symbolic link (or symlink for short) to
“/proc/kcore”:


zamb ~ $ /bin/ls -l -h /dev/core /.dev/core /proc/kcore
lrwxrwxrwx  1 root root   11 2005-04-02 17:06 /.dev/core -> /proc/kcore
lrwxrwxrwx  1 root root   11 2005-05-28 21:44 /dev/core -> /proc/kcore
-r--------  1 root root 512M 2005-06-01 06:19 /proc/kcore
zamb ~ $


So all the above files don't consume any bytes of my hard drive, they
are all virtual and reside in the memory.

(My system has 512MiB of RAM which is the size of “/proc/kcore”.)

I hope this helped.
Ziyad.




More information about the ubuntu-users mailing list