From owner-freebsd-current@FreeBSD.ORG Thu Aug 11 04:35:32 2005 Return-Path: X-Original-To: freebsd-current@FreeBSD.org Delivered-To: freebsd-current@FreeBSD.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 6BD7B16A41F for ; Thu, 11 Aug 2005 04:35:32 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from postfix4-2.free.fr (postfix4-2.free.fr [213.228.0.176]) by mx1.FreeBSD.org (Postfix) with ESMTP id 07B7C43D45 for ; Thu, 11 Aug 2005 04:35:31 +0000 (GMT) (envelope-from tataz@tataz.chchile.org) Received: from tatooine.tataz.chchile.org (vol75-8-82-233-239-98.fbx.proxad.net [82.233.239.98]) by postfix4-2.free.fr (Postfix) with ESMTP id 0EA943203E0; Thu, 11 Aug 2005 06:35:30 +0200 (CEST) Received: by tatooine.tataz.chchile.org (Postfix, from userid 1000) id 47327405B; Thu, 11 Aug 2005 06:35:41 +0200 (CEST) Date: Thu, 11 Aug 2005 06:35:41 +0200 From: Jeremie Le Hen To: Kevin Oberman Message-ID: <20050811043541.GS45385@obiwan.tataz.chchile.org> References: <42F749C5.3010308@rfc2549.org> <20050808183610.C55885D07@ptavv.es.net> Mime-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: <20050808183610.C55885D07@ptavv.es.net> User-Agent: Mutt/1.5.9i Cc: freebsd-current@FreeBSD.org, Arne Schwabe , Jeremie Le Hen Subject: Re: "atacontrol info" isn't working here X-BeenThere: freebsd-current@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Discussions about the use of FreeBSD-current List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Thu, 11 Aug 2005 04:35:32 -0000 Hi, [ Cc'ing -doc@, so I put a little history from the thread in this mail ] > > > > >I can use "list", "mode" and "cap" commands from atacontrol(8), but I > > > > >can't use "info". > > > > > > > > > >%%% > > > > > jarjarbinks:root# atacontrol list > > > > > ATA channel 0: > > > > > Master: ad0 ATA/ATAPI revision 6 > > > > > Slave: acd0 ATA/ATAPI revision 6 > > > > > ATA channel 1: > > > > > Master: no device present > > > > > Slave: no device present > > > > > jarjarbinks:root# atacontrol info 0 > > > > > atacontrol: Invalid channel 0 > > > > > jarjarbinks:root# atacontrol info 1 > > > > > atacontrol: Invalid channel 1 > > > > >%%% > > > > > > > > > > > >for me atacontrol info ata0 works :) > > > > > >Thanks for your very quick answer. I will send a patch to make the > > >manual page more explicit for dumb peoples like me. > > > > > Well it took me ten minutes too. Because that one is not obvious at all. > > But I needed my cdrom (hotswap ide) and did not want to reboot. > > I sent in a patch to the man page when this change was committed by sos@, > but the man page has never been updated. I made the mistake of just > posting and copying sos@. I should have put it in a PR. Kevin, no news since then. I made a patch for the manpage which is actually clearly wrong : %%% The channel argument is the number of the ATA channel on which to operate. %%% The ``channel'' argument is the name of the ata(4) device and not only its number. Regards, -- Jeremie Le Hen < jeremie at le-hen dot org >< ttz at chchile dot org >