Subject: Re: /netbsd is necessary?
To: Water NB <netbsd78@126.com>
From: Garrett D'Amore <garrett_damore@tadpole.com>
List: port-evbmips
Date: 03/26/2006 23:01:04
Water NB wrote:
> I want to know:
> Is the file /netbsd necessary in an embedded system?
>
> In my system (alchemy au1550), I willn't run netstat command with /netbsd.
> Why this command need access /netbsd.
> Any other commands need it too?
>
> thanks.
>   

netstat and vmstat need it because they need to read the symbol table to
figure out where bits in kmem are.

Apart from a few "system status commands", I don't think you need it.

It would be really, really cool if instead these commands could use some
kernfs file.  That would be a nice SoC project.

-- 
Garrett D'Amore, Principal Software Engineer
Tadpole Computer / Computing Technologies Division,
General Dynamics C4 Systems
http://www.tadpolecomputer.com/
Phone: 951 325-2134  Fax: 951 325-2191