Re: "atacontrol info" isn't working here

From: Jeremie Le Hen <jeremie_at_le-hen.org>
Date: Thu, 11 Aug 2005 06:38:15 +0200
Hi,

[ Cc'ing -doc_at_, so I put a little history from the thread in this mail ]

[ I forgot the Cc: field and the attached patch :-} ]

> > > > >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 <TOSHIBA MK8025GAS/KA023A> ATA/ATAPI revision 6
> > > > >        Slave:  acd0 <MATSHITAUJ-845D/D100> 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_at_,
> but the man page has never been updated. I made the mistake of just
> posting and copying sos_at_. 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 >

Received on Thu Aug 11 2005 - 02:38:05 UTC

This archive was generated by hypermail 2.4.0 : Wed May 19 2021 - 11:38:41 UTC