Re: Creating /proc/net/dev

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi Bizhan

/proc is a file system created by the kernel to pass information to process. It was originally designed to allow easy access to information about different processes running. It is also used to store information like memory info, cpu usage and so on. commands like top, ps makes use of this file system only. We can create our own module in /proc file system as well. The module is similar to device drivers and can be registered with the kernel using create_proc_entry and removed using  remove_proc_entry.

/proc/net/dev stores the statistics of eth0.

On Thu, Mar 12, 2009 at 4:17 AM, Bizhan Gholikhamseh (bgholikh) <bgholikh@xxxxxxxxx> wrote:
Hi All,
I have created a simple ramdisk which basicly is based on busy box tool.
When I type "ifconfig eth0" I get the following error:
Ifconfig: /proc/net/dev: No such file or directory.

So my question is how this /proc directory or any /proc directory gets
created?

Many thanks in advance,
Bizhan

--
To unsubscribe from this list: send an email with
"unsubscribe kernelnewbies" to ecartis@xxxxxxxxxxxx
Please read the FAQ at http://kernelnewbies.org/FAQ




--
BR
Arunkumar N




[Index of Archives]     [Newbies FAQ]     [Linux Kernel Mentors]     [Linux Kernel Development]     [IETF Annouce]     [Git]     [Networking]     [Security]     [Bugtraq]     [Yosemite]     [MIPS Linux]     [ARM Linux]     [Linux RAID]     [Linux SCSI]     [Linux ACPI]
  Powered by Linux