* Howto remove /proc/kcore?
@ 1999-03-01 23:04 Gyenes Istvan
1999-03-01 23:35 ` B. James Phillippe
` (2 more replies)
0 siblings, 3 replies; 8+ messages in thread
From: Gyenes Istvan @ 1999-03-01 23:04 UTC (permalink / raw)
To: axp-list
It might be a silly question, but how can I delete
/proc/kcore?? I tried mozilla and I had to kill it. The result:
-r-------- 1 root root 67117056 Mar 2 00:00 kcore
How can I remove this file because rm doesn't work? (operation not
permitted)
TIA
Istvan
^ permalink raw reply [flat|nested] 8+ messages in thread* Re: Howto remove /proc/kcore?
1999-03-01 23:04 Howto remove /proc/kcore? Gyenes Istvan
@ 1999-03-01 23:35 ` B. James Phillippe
1999-03-02 6:40 ` Joachim Wesner
1999-03-09 19:24 ` Steve Frampton
2 siblings, 0 replies; 8+ messages in thread
From: B. James Phillippe @ 1999-03-01 23:35 UTC (permalink / raw)
To: axp-list
On Tue, 2 Mar 1999, Gyenes Istvan wrote:
>
> It might be a silly question, but how can I delete
> /proc/kcore?? I tried mozilla and I had to kill it. The result:
Never try to remove files in the /proc directory; they exist only in the
kernel's imagination. It would also be wise to not try altering their
contents or permissions until you are familiar with the purpose and use of
the /proc filesystem.
Don't worry, it's not taking up any disk space. :)
cheers,
-bp
--
B. James Phillippe . bryan@terran.org
Software Engineer, WGT Inc. . http://www.terran.org/~bryan
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Howto remove /proc/kcore?
1999-03-01 23:04 Howto remove /proc/kcore? Gyenes Istvan
1999-03-01 23:35 ` B. James Phillippe
@ 1999-03-02 6:40 ` Joachim Wesner
1999-03-02 6:58 ` Chris Price
1999-03-09 19:24 ` Steve Frampton
2 siblings, 1 reply; 8+ messages in thread
From: Joachim Wesner @ 1999-03-02 6:40 UTC (permalink / raw)
To: axp-list
Gyenes Istvan wrote:
>
> It might be a silly question, but how can I delete
> /proc/kcore?? I tried mozilla and I had to kill it. The result:
>
> -r-------- 1 root root 67117056 Mar 2 00:00 kcore
>
> How can I remove this file because rm doesn't work? (operation not
> permitted)
>
You simply DON`T !!! This is an "image" of your main memory, linked into
the filesystem tree, NO real file (i.e does NOT use any space on your
disk).
JW
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Howto remove /proc/kcore?
1999-03-02 6:40 ` Joachim Wesner
@ 1999-03-02 6:58 ` Chris Price
0 siblings, 0 replies; 8+ messages in thread
From: Chris Price @ 1999-03-02 6:58 UTC (permalink / raw)
To: axp-list
I make it a general habit to never touch anything in /proc. I know
it is reasonably well secure by the kernel guys, but I would rather not
be 'fondling' my main memory images and cpu states...
This does not mean that I do not cat, more or less the files in
said directory for info purposes. I just never try to do anything else
there.
Chris
On Tue, 2 Mar 1999, Joachim Wesner wrote:
> Gyenes Istvan wrote:
> >
> > It might be a silly question, but how can I delete
> > /proc/kcore?? I tried mozilla and I had to kill it. The result:
> >
> > -r-------- 1 root root 67117056 Mar 2 00:00 kcore
> >
> > How can I remove this file because rm doesn't work? (operation not
> > permitted)
> >
>
> You simply DON`T !!! This is an "image" of your main memory, linked into
> the filesystem tree, NO real file (i.e does NOT use any space on your
> disk).
>
> JW
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Howto remove /proc/kcore?
1999-03-01 23:04 Howto remove /proc/kcore? Gyenes Istvan
1999-03-01 23:35 ` B. James Phillippe
1999-03-02 6:40 ` Joachim Wesner
@ 1999-03-09 19:24 ` Steve Frampton
1999-03-09 22:06 ` Joakim Roubert
2 siblings, 1 reply; 8+ messages in thread
From: Steve Frampton @ 1999-03-09 19:24 UTC (permalink / raw)
To: axp-list
On Tue, 2 Mar 1999, Gyenes Istvan wrote:
> It might be a silly question, but how can I delete
> /proc/kcore?? I tried mozilla and I had to kill it. The result:
>
> -r-------- 1 root root 67117056 Mar 2 00:00 kcore
Wow, that's a rather large file, isn't it? I can't blame you for wanting
to delete it! Unfortunately, Linux doesn't support this operation, so if
you really want to remove the file:
1. Open up your system case. Some systems have quick-release knobs that
allow you easy access. Others will require a screw driver.
2. Locate the memory chips. Likely they will be two long, slender items
with lots of small memory chips embedded on them. These are called
SIMMs or SDIMMs, depending on which memory architecture your system
uses.
3. Lift the release tabs on each end of the items, and remove them.
Reboot (you may have difficulty getting a MILO prompt, however).
Congratulations, you've successfully removed the pseudo-file
'/proc/kcore'. :-)
--------------< LINUX: The choice of a GNU generation. >--------------
Steve Frampton <3srf@qlink.queensu.ca> http://qlink.queensu.ca/~3srf
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Howto remove /proc/kcore?
1999-03-09 19:24 ` Steve Frampton
@ 1999-03-09 22:06 ` Joakim Roubert
1999-03-10 2:52 ` Matthew Geier
1999-03-10 13:36 ` Richard Heycock
0 siblings, 2 replies; 8+ messages in thread
From: Joakim Roubert @ 1999-03-09 22:06 UTC (permalink / raw)
To: axp-list
On Tue, 9 Mar 1999, Steve Frampton wrote:
> > -r-------- 1 root root 67117056 Mar 2 00:00 kcore
> Wow, that's a rather large file, isn't it? I can't blame you for wanting
Hmm.. I have just one like that myself.......
Except for using som space (it is, isn't it?), what does it do?
And, if I delete it, then it would probably get back there at the next
(yes, I have some of them) Netscape crash?
/Jokke tmw.
···
http://www.efd.lth.se/~d97jro/
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Howto remove /proc/kcore?
1999-03-09 22:06 ` Joakim Roubert
@ 1999-03-10 2:52 ` Matthew Geier
1999-03-10 13:36 ` Richard Heycock
1 sibling, 0 replies; 8+ messages in thread
From: Matthew Geier @ 1999-03-10 2:52 UTC (permalink / raw)
To: axp-list
> On Tue, 9 Mar 1999, Steve Frampton wrote:
>
> > > -r-------- 1 root root 67117056 Mar 2 00:00 kcore
> > Wow, that's a rather large file, isn't it? I can't blame you for wanting
>
> Hmm.. I have just one like that myself.......
> Except for using som space (it is, isn't it?), what does it do?
> And, if I delete it, then it would probably get back there at the next
> (yes, I have some of them) Netscape crash?
>
I have a small chuckle every time this comes up...
/proc is not a real file system. Nothing in there takes up disk space.
You cant delete the files are they are not real files, but virtual files
representing some aspect of the system. (Often counters or other system
info).
kcore is a representation of the system virtual memory, of course it is
huge, the virtual memory size is huge....
--
Matthew Geier, | Australian Public Access Network Association
matthew@sleeper.apana.org.au | +61 2 9587 9773
matthew@law.usyd.edu.au | 018 977 356
^ permalink raw reply [flat|nested] 8+ messages in thread
* Re: Howto remove /proc/kcore?
1999-03-09 22:06 ` Joakim Roubert
1999-03-10 2:52 ` Matthew Geier
@ 1999-03-10 13:36 ` Richard Heycock
1 sibling, 0 replies; 8+ messages in thread
From: Richard Heycock @ 1999-03-10 13:36 UTC (permalink / raw)
To: axp-list
[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #1: Type: TEXT/PLAIN; charset=X-UNKNOWN, Size: 1465 bytes --]
On Tue, 9 Mar 1999, Joakim Roubert wrote:
Any thing within the /proc file system is not real -- it is a reflection
of the various process's running.
"/proc -- this file system type provides access to the address
space image of each active process in the system. It is typically
used by debugging and tracing utilities"
-- "The Magic Garden" Benry Goodhart & James Cox
Although the above quote is from a book about SVR5 the proc file system is
modeled on this. And whatsmore is a particulaly good implementation.
Compare it to OSF.
The proc filesystem is a means of interrogate the kernel about any process
that is running on the system. Try it. Look at /proc/pci or /proc/meminfo
or cd to /proc/[0-9]{3,4} and cat any file in there.
The proc filesystem is a very good thing.
> On Tue, 9 Mar 1999, Steve Frampton wrote:
>
> > > -r-------- 1 root root 67117056 Mar 2 00:00 kcore
> > Wow, that's a rather large file, isn't it? I can't blame you for wanting
>
> Hmm.. I have just one like that myself.......
> Except for using som space (it is, isn't it?), what does it do?
> And, if I delete it, then it would probably get back there at the next
> (yes, I have some of them) Netscape crash?
>
> /Jokke tmw.
> ···
> http://www.efd.lth.se/~d97jro/
>
> --
> To unsubscribe: send e-mail to axp-list-request@redhat.com with
> 'unsubscribe' as the subject. Do not send it to axp-list@redhat.com
>
^ permalink raw reply [flat|nested] 8+ messages in thread
end of thread, other threads:[~1999-03-10 13:43 UTC | newest]
Thread overview: 8+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
1999-03-01 23:04 Howto remove /proc/kcore? Gyenes Istvan
1999-03-01 23:35 ` B. James Phillippe
1999-03-02 6:40 ` Joachim Wesner
1999-03-02 6:58 ` Chris Price
1999-03-09 19:24 ` Steve Frampton
1999-03-09 22:06 ` Joakim Roubert
1999-03-10 2:52 ` Matthew Geier
1999-03-10 13:36 ` Richard Heycock
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox