Bizhan,

One suggestion. Check if you get any error during kernel boot process related 
to rc.d. In this case maybe you don't have the Skeleton base files ( see 
CONFIG_PKG_SKELL ). In this case you will receive that "/proc/net/dev: No such 
file or directory " error message. In this case, adding the Skell pkg will fix 
this issue.

Bogdan



________________________________
From: ArunKumar Nagarajan <[email protected]>
To: Bizhan Gholikhamseh (bgholikh) <[email protected]>
Cc: Kernel Newbies <[email protected]>
Sent: Thursday, March 12, 2009 6:00:23 AM
Subject: Re: Creating /proc/net/dev

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) 
<[email protected]> 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 [email protected]
Please read the FAQ at http://kernelnewbies.org/FAQ




-- 
BR
Arunkumar N


      

Reply via email to