From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752627Ab2G0NPl (ORCPT ); Fri, 27 Jul 2012 09:15:41 -0400 Received: from mail.skyhub.de ([78.46.96.112]:51456 "EHLO mail.skyhub.de" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752358Ab2G0NPk (ORCPT ); Fri, 27 Jul 2012 09:15:40 -0400 Date: Fri, 27 Jul 2012 15:15:36 +0200 From: Borislav Petkov To: Dirk Gouders Cc: Cong Wang , Jesse Barnes , Linux Kernel Subject: Re: [RFC PATCH] netconsole.txt: "nc" needs "-p" to specify the listening port Message-ID: <20120727131535.GA3485@x1.osrc.amd.com> Mail-Followup-To: Borislav Petkov , Dirk Gouders , Cong Wang , Jesse Barnes , Linux Kernel References: MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Disposition: inline In-Reply-To: User-Agent: Mutt/1.5.21 (2010-09-15) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On Fri, Jul 27, 2012 at 11:24:53AM +0200, Dirk Gouders wrote: > Cong Wang writes: > > > On Fri, Jul 27, 2012 at 2:35 PM, Dirk Gouders > > wrote: > >> Hi Jesse, > >> > >> I would like to ask you to check if the documentation of "nc" in > >> netconsole.txt is still correct. I tried two different netcat packages > >> and both require "-p" to specify the listening port. I am wondering if > >> that changed after the use of "nc" has been documented. > > > > On Fedora 16, `nc -u -l ` works fine. > > Thanks for checking that. > > If the information I found is correct, Fedora uses OpenBSD's nc > codebase. The two netcat packages I tested on a Gentoo system differ in > requiring the -p switch for the port specification. So say exactly that in the doc: that the *BSD's version of nc doesn't need the port number specified with '-p' and you're covered. -- Regards/Gruss, Boris.