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 part of THEY ARE NOT FILES are you missing here?
everything in linux is a file: directories, printers, sockets, named pipes etc.
thats the kernel reporting the ACTUAL cpuinfo. you can''t change that. ditto interrupts, etc.
$ cat /proc/interrupts CPU0 0: 2214281030 XT-PIC timer 1: 2 XT-PIC i8042 2: 0 XT-PIC cascade 6: 6 XT-PIC floppy 7: 1 XT-PIC parport0 8: 1 XT-PIC rtc 9: 1 XT-PIC acpi, uhci_hcd:usb2 11: 218548 XT-PIC eth0 12: 1 XT-PIC uhci_hcd:usb1 14: 4659843 XT-PIC ide0 15: 19337609 XT-PIC ide1 NMI: 0 LOC: 0 ERR: 0 MIS: 0
what possible sense would 'copying' that to another system make? I go to a different computer...
# cat /proc/interrupts CPU0 0: 1078260604 XT-PIC timer 1: 3 XT-PIC keyboard 2: 0 XT-PIC cascade 7: 0 XT-PIC usb-ohci 8: 1 XT-PIC rtc 9: 75485990 XT-PIC aic7xxx 10: 1754046926 XT-PIC eth0 14: 131 XT-PIC ide0 NMI: 0 ERR: 0
and the different devices are on different IRQs, never mind the IRQ counts being different.
anyways, most of whats in /proc is readonly. _______________________________________________ CentOS mailing list CentOS@centos.org http://lists.centos.org/mailman/listinfo/centos