From owner-freebsd-bugs Fri Jun 14 21:30:11 2002 Delivered-To: freebsd-bugs@hub.freebsd.org Received: from freefall.freebsd.org (freefall.FreeBSD.org [216.136.204.21]) by hub.freebsd.org (Postfix) with ESMTP id 55D5037B406 for ; Fri, 14 Jun 2002 21:30:04 -0700 (PDT) Received: (from gnats@localhost) by freefall.freebsd.org (8.11.6/8.11.6) id g5F4U4Z36465; Fri, 14 Jun 2002 21:30:04 -0700 (PDT) (envelope-from gnats) Date: Fri, 14 Jun 2002 21:30:04 -0700 (PDT) Message-Id: <200206150430.g5F4U4Z36465@freefall.freebsd.org> To: freebsd-bugs@FreeBSD.org Cc: From: Cyrille Lefevre Subject: Re: misc/39202: ata(4) refer to sysctl(8) instead of atacontrol(8). Reply-To: Cyrille Lefevre Sender: owner-freebsd-bugs@FreeBSD.ORG Precedence: bulk List-ID: List-Archive: (Web Archive) List-Help: (List Instructions) List-Subscribe: List-Unsubscribe: X-Loop: FreeBSD.org The following reply was made to PR misc/39202; it has been noted by GNATS. From: Cyrille Lefevre To: David Malone Cc: FreeBSD-gnats-submit@FreeBSD.org, sos@FreeBSD.org Subject: Re: misc/39202: ata(4) refer to sysctl(8) instead of atacontrol(8). Date: Sat, 15 Jun 2002 06:25:25 +0200 On Sat, Jun 15, 2002 at 01:47:55AM +0100, David Malone wrote: > -.Pp > -To see the devices' current access modes, use the command line: > -.Pp > -.Dl sysctl hw.atamodes > -.Pp > -which results in the modes of the devices being displayed as a string > -like this: > -.Pp > -.Dl hw.atamodes: dma,pio,---,pio,dma,---,dma,---, (--- = no device) > -.Pp > -This means that ata0-master is in DMA mode, > -ata0-slave is in PIO mode, > -and so forth. > -You can set the mode with sysctl and a string like the above, > -for example: > -.Pp > -.Dl sysctl hw.atamodes=pio,pio,---,dma,pio,---,dma,---, > -.Pp > -The new modes are set as soon as the sysctl command returns. > .Sh FILES > .Bl -tag -width "/sys/i386/conf/GENERIC " -compact > .It Pa /dev/ad* why do you get rid of this sample section, that I've translated to atacontrol(8) equivalents, which may help many people having troubles w/ ATA modes ? an alternative would be to move it to a true EXAMPLES section in atacontrol(8) ? Cyrille. -- Cyrille Lefevre mailto:cyrille.lefevre@laposte.net To Unsubscribe: send mail to majordomo@FreeBSD.org with "unsubscribe freebsd-bugs" in the body of the message