/proc/net/dev no such file or dir
june.tune.sea at gmail.com
Tue Sep 17 06:49:03 EDT 2013
I use initramfs in booting stage ,and also mount /proc in init script file .
I am puzzled that when is nic driver registered ?
when chould nic start up and work well ?
2013/8/19 <Valdis.Kletnieks at vt.edu>:
> On Sun, 18 Aug 2013 22:07:02 +0800, you said:
>> Acctually ,I have just entered shell command line ,no process is running yet !
> Actually, if you have a shell command line, at least one process is in fact
> running - your shell itself.
>> I don 't clear of why /proc have not been mounted .
>> So I want to find reason by debuging ,and I find /proc filesystem
>> exist in ram ,with several entries ceated .
>> Chould you tell me the key point that mount /proc on system ?
> Depends on your system. If you have an embedded system, it may mot mount
> it at all. If your system uses an initrd or initramfs, it probably gets
> done by the startup script in there. If neither of those happen, it's usually
> done by /etc/rc.sysinit or similar, unless your system uses systemd for startup
> in which case you're going to be digging around to figure out where it does it.
More information about the Kernelnewbies