/proc isn't a real folder but a view of the process/kernel status information.
Just skip /proc, /sys and /dev when copying /
-Ross
From: [EMAIL PROTECTED] [mailto:[EMAIL PROTECTED] On Behalf Of chloe K
Sent: Tuesday, March 18, 2008 1:11 PM
chloe K wrote:
Hi all
i am trying to copy this folder /proc to other computer
but all parameter are gone
how can I copy it?
its not a folder, its a virtual file system thats a view into various
kernel internals.
for instance, /proc/kcore is a readonly view of all of physical
memory. /
yes.
but i want to copy this file to have the parameter setting in this computer
eg: cpuinfo ... interrupt
how can I copy this file?
thank you again
"Ross S. W. Walker" <[EMAIL PROTECTED]> wrote: /proc isn't a real folder
but a view of the process/kernel status information.
Just
chloe K wrote:
yes.
but i want to copy this file to have the parameter setting in this
computer
eg: cpuinfo ... interrupt
how can I copy this file?
which part of THEY ARE NOT FILES are you missing here?
thats the kernel reporting the ACTUAL cpuinfo. you can''t change that.
ditto int
mkdir proc
cp /proc/cpuinfo proc
works for me.
So just out of curiosity, what do you hope to accomplish?
John R Pierce wrote:
chloe K wrote:
yes.
but i want to copy this file to have the parameter setting in this
computer
eg: cpuinfo ... interrupt
how can I copy this file?
which pa
chloe K wrote:
yes.
but i want to copy this file to have the parameter setting in this
computer
eg: cpuinfo ... interrupt
cat /proc/whatever > /somefolder/whatever
You can't copy /proc.
--
H | It's not a bug - it's an undocumented feature.
+---
6 matches
Mail list logo