Re: /netbsd is necessary?

"Garrett D'Amore" <[email protected]>
Newsgroups gmane.os.netbsd.ports.evbmips
Message-ID <[email protected]>
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
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.