From owner-freebsd-small Sat Jun 13 05:21:23 1998 Return-Path: Received: (from majordom@localhost) by hub.freebsd.org (8.8.8/8.8.8) id FAA11364 for freebsd-small-outgoing; Sat, 13 Jun 1998 05:21:23 -0700 (PDT) (envelope-from owner-freebsd-small@FreeBSD.ORG) Received: from kremvax.demos.su (kremvax.demos.su [194.87.0.20]) by hub.freebsd.org (8.8.8/8.8.8) with SMTP id FAA11350 for ; Sat, 13 Jun 1998 05:21:14 -0700 (PDT) (envelope-from forsys!kate@kremvax.demos.su) Received: by kremvax.demos.su (8.6.13/D) from root@localhost id QAA20711; Sat, 13 Jun 1998 16:19:43 +0400 Received: (from kate@localhost) by ns.forsys.msk.ru (8.8.7/8.6.9) id QAA15342; Sat, 13 Jun 1998 16:05:17 +0400 (MSD) Date: Sat, 13 Jun 1998 16:05:16 +0400 (MSD) From: "Ekaterina N. Ivannikova" To: Mike Smith cc: freebsd-small@FreeBSD.ORG Subject: Re: netstat is not working In-Reply-To: <199806111321.GAA01705@antipodes.cdrom.com> Message-ID: MIME-Version: 1.0 Content-Type: TEXT/PLAIN; charset=US-ASCII Sender: owner-freebsd-small@FreeBSD.ORG Precedence: bulk X-Loop: FreeBSD.ORG 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