Skip site navigation (1)Skip section navigation (2)
Date:      Sat, 13 Jun 1998 16:05:16 +0400 (MSD)
From:      "Ekaterina N. Ivannikova" <kate@forsys.msk.ru>
To:        Mike Smith <mike@smith.net.au>
Cc:        freebsd-small@FreeBSD.ORG
Subject:   Re: netstat is not working 
Message-ID:  <Pine.BSI.3.90.980613155109.15258A-100000@ns.forsys.msk.ru>
In-Reply-To: <199806111321.GAA01705@antipodes.cdrom.com>

next in thread | previous in thread | raw e-mail | index | archive | help


On Thu, 11 Jun 1998, Mike Smith wrote:

> Some of the netstat functions may work without needing to read the 
> kernel symbol table.  What you're missing is a netstat that doesn't 
> need to do that crap.  8(
> 
Ok, it seems the way to go would be to make dumpnlist dump addresses 
netstat needs, then change it to read the file "symbols".

> > Another question:
> > Is there any way of using multiple virtual consoles without overhead of 
> > getty, login & Co. short of writing one's one getty ?  
> 
> Sure; just start a shell pointed at the correct vty directly.  You can 
> only switch to a vty that has something running on it, but you don't 
> need to be using getty, login or even init.
> 
I'd hate to sound like an imbecille but still: _how_ ?
If I am in single user mode on console (/dev/ttyv0) 
# sh < /dev/ttyv1 > /dev/ttyv1 &
makes the keyboard scream. Without "&" I can't use the first shell until 
the second exits.
In multiuser mode init opens ttys read only, so substituting /bin/sh for 
getty in /etc/ttys makes it start and exit in a loop.

Thanks for your help.

Ekaterina

 

To Unsubscribe: send mail to majordomo@FreeBSD.org
with "unsubscribe freebsd-small" in the body of the message



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?Pine.BSI.3.90.980613155109.15258A-100000>