Received: from malur.postgresql.org ([217.196.149.56]) by arkaria.postgresql.org with esmtp (Exim 4.84_2) (envelope-from ) id 1dhJVR-0004zP-Qa for pgsql-docs@arkaria.postgresql.org; Mon, 14 Aug 2017 17:50:26 +0000 Received: from localhost ([127.0.0.1] helo=postgresql.org) by malur.postgresql.org with smtp (Exim 4.84_2) (envelope-from ) id 1dhJVR-0001JS-D7 for pgsql-docs@arkaria.postgresql.org; Mon, 14 Aug 2017 17:50:25 +0000 Received: from magus.postgresql.org ([2a02:c0:301:0:ffff::29]) by malur.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA384:256) (Exim 4.84_2) (envelope-from ) id 1dgeFh-0005Df-Bi for pgsql-docs@postgresql.org; Sat, 12 Aug 2017 21:47:25 +0000 Received: from mail-wm0-x235.google.com ([2a00:1450:400c:c09::235]) by magus.postgresql.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_CBC_SHA1:256) (Exim 4.84_2) (envelope-from ) id 1dgeFY-0007Kq-AH for pgsql-docs@postgresql.org; Sat, 12 Aug 2017 21:47:24 +0000 Received: by mail-wm0-x235.google.com with SMTP id i66so16683934wmg.0 for ; Sat, 12 Aug 2017 14:47:15 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=from:message-id:mime-version:subject:date:in-reply-to:cc:to :references; bh=DUdq3i3NRckThFAyKfI0hM3ot7yRvaEqFdaqFkQyovs=; b=QXI0IfG97KcwJi6Yjd42on3mdAu9GBL2MSIhhWh6Yrnyjgyd2OF1z8ddYIIerhKHYc tCX1P7yuNb/kg1gMOrFYsmkOW51HL0DN//koR8tgMTR1BGQfKbHlO/rR8Jw2T3ApZKO7 l1afu3LTWBdaMfbPDu1HvGYGX0Ybc/aYioItxBIqPYWTbPVI8Na4KG4wDX2pmLorInAp PW6Q4yWacZ8kJhgCrmiMTGpoFDrwNfye6jq8yq6YhkyHFhotJYTVkZO9rLrbTcjCwlzB wdcA5/vuncoyN5jXhrsJarBxidn2pv8f5ir9op9nL0jgg263CUkwbMHCVBLPmPHzAuKS QcaQ== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:message-id:mime-version:subject:date :in-reply-to:cc:to:references; bh=DUdq3i3NRckThFAyKfI0hM3ot7yRvaEqFdaqFkQyovs=; b=eOtUl2Px+o2XvisVi4tDeER1F7XAXQHyHvAXSoBamm+8tJM2GolVfLHwYdc+9dSxtt /F3x67wS+qRHLHalFqR4K6qv8UYpxWrkpTGMbcHzAC2gwDIgwoI0SFVSHslfv2ciHTOi LxlKLUJ7OjFX/th54AVn8NzgKe9of3djopNR5H0uoj6wmyvQPv0Qk/BltVSuc1soV472 IqEUf7DI/U1R9pw03pCAcyimQbeajpugMSVZ4cjN8BIYWak2AUPf9/mhpkLIwOMXJR5u nmHtc5/Mu2cH9E/pVgow0Xa1KVCpKV+dOyi2KaXqc4moOcwlzj08Vk+hbWY6v8THmVik z1FQ== X-Gm-Message-State: AHYfb5i9sV7Rmxmu3fclrq7LbLZrULWHNleJuoDG5tIozz5bAd8HeBrG 8SsC3wHcEAfsGw== X-Received: by 10.28.143.206 with SMTP id r197mr1443478wmd.69.1502574434860; Sat, 12 Aug 2017 14:47:14 -0700 (PDT) Received: from [192.168.43.98] (188.29.165.85.threembb.co.uk. [188.29.165.85]) by smtp.gmail.com with ESMTPSA id w19sm7227959wrb.49.2017.08.12.14.47.12 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Sat, 12 Aug 2017 14:47:12 -0700 (PDT) From: John Ekins Message-Id: Content-Type: multipart/signed; boundary="Apple-Mail=_25B4078F-9F0C-4FA0-A46D-AD0B615F05AF"; protocol="application/pgp-signature"; micalg=pgp-sha512 Mime-Version: 1.0 (Mac OS X Mail 10.3 \(3273\)) Subject: Re: The reference to 'atacontrol' on FreeBSD is outdated. Date: Sat, 12 Aug 2017 22:47:00 +0100 In-Reply-To: <29e222a6-fd45-e049-ac5c-6bcba6ecdfd0@2ndquadrant.com> Cc: pgsql-docs@postgresql.org To: Peter Eisentraut References: <20170808224017.8424.69170@wrigleys.postgresql.org> <29e222a6-fd45-e049-ac5c-6bcba6ecdfd0@2ndquadrant.com> X-Mailer: Apple Mail (2.3273) List-Archive: List-Help: List-ID: List-Owner: List-Post: List-Subscribe: List-Unsubscribe: X-Mailing-List: pgsql-docs Precedence: bulk Sender: pgsql-docs-owner@postgresql.org --Apple-Mail=_25B4078F-9F0C-4FA0-A46D-AD0B615F05AF Content-Type: multipart/alternative; boundary="Apple-Mail=_F7630A0C-B1E8-4831-8DF6-6F16BAE7D1A6" --Apple-Mail=_F7630A0C-B1E8-4831-8DF6-6F16BAE7D1A6 Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset=us-ascii Hi, Sure. Camcontrol does indeed cover IDE, SCSI and SAS drives. Replace this line: On FreeBSD, IDE drives can be queried using atacontrol... With this: On FreeBSD, IDE drives can be queried using camcontrol identify... In other words, the query is the same as for SCSI drives. For = verification this is what the output looks like: root@bsd11desk:/home/jre # camcontrol identify 0:0:0 | egrep = "Feature|write cache" Feature Support Enabled Value Vendor write cache yes yes I appreciate the Postgresql docs are not meant to be FreeBSD tutorials. Thanks, J. > On 11 Aug 2017, at 20:51, Peter Eisentraut = wrote: >=20 > On 8/8/17 18:40, jrekins@gmail.com wrote: >> The following documentation comment has been logged on the website: >>=20 >> Page: https://www.postgresql.org/docs/9.6/static/wal-reliability.html >> Description: >>=20 >> Hi, >>=20 >> On this page: >> https://www.postgresql.org/docs/9.6/static/wal-reliability.html >>=20 >> ... there is a reference to 'atacontrol' on FreeBSD: 'On = FreeBSD, IDE drives >> can be queried using atacontrol...' >>=20 >> This command was deprecated in FreeBSD 9.0 which was released in = January >> 2012. Here is a link to the relevant man page highlighting its = obsolesence: >> = https://www.freebsd.org/cgi/man.cgi?query=3Datacontrol&sektion=3D8&= ;apropos=3D0&manpath=3DFreeBSD+9.0-RELEASE >>=20 >> The 'camcontrol' is the replacement. >=20 > Could you supply a new phrasing of that paragraph? Does camcontrol = now > handle both IDE and SCSI? >=20 > -- > Peter Eisentraut http://www.2ndQuadrant.com/ > PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services --Apple-Mail=_F7630A0C-B1E8-4831-8DF6-6F16BAE7D1A6 Content-Transfer-Encoding: quoted-printable Content-Type: text/html; charset=us-ascii Hi,

Sure. Camcontrol does indeed cover IDE, = SCSI and SAS drives.

Replace this line:
On FreeBSD, IDE drives can be queried using atacontrol...

With this:
On = FreeBSD, IDE drives can be queried using camcontrol identify... 

In other words, the query is the same as = for SCSI drives. For verification this is what the output looks = like:

root@bsd11desk:/home/jre # = camcontrol identify 0:0:0 | egrep "Feature|write cache"
Feature              =       =   Support  Enabled   Value   =         Vendor
write cache  =                 =   yes = yes


I appreciate the Postgresql docs are = not meant to be FreeBSD tutorials.

Thanks,
J.

On 11 Aug 2017, at 20:51, Peter Eisentraut = <peter.eisentraut@2ndquadrant.com> wrote:

On = 8/8/17 18:40, jrekins@gmail.com wrote:
The following documentation comment has been = logged on the website:

Page: https://www.postgresql.org/docs/9.6/static/wal-reliability.html=
Description:

Hi,

On this page:
https://www.postgresql.org/docs/9.6/static/wal-reliability.html=

... there is a reference to = &#39;atacontrol&#39; on FreeBSD: &#39;On FreeBSD, IDE = drives
can be queried using atacontrol...&#39;

This command was deprecated in FreeBSD 9.0 = which was released in January
2012. Here is a link to the = relevant man page highlighting its obsolesence:
https://www.freebsd.org/cgi/man.cgi?query=3Datacontrol&amp;= sektion=3D8&amp;apropos=3D0&amp;manpath=3DFreeBSD+9.0-RELEASE

The &#39;camcontrol&#39; is the = replacement.

Could you supply = a new phrasing of that paragraph?  Does camcontrol now
handle both IDE and SCSI?

--
Peter Eisentraut =             &n= bsp;http://www.2ndQuadrant.com/
PostgreSQL = Development, 24x7 Support, Remote DBA, Training & Services

= --Apple-Mail=_F7630A0C-B1E8-4831-8DF6-6F16BAE7D1A6-- --Apple-Mail=_25B4078F-9F0C-4FA0-A46D-AD0B615F05AF Content-Transfer-Encoding: 7bit Content-Disposition: attachment; filename=signature.asc Content-Type: application/pgp-signature; name=signature.asc Content-Description: Message signed with OpenPGP -----BEGIN PGP SIGNATURE----- Comment: GPGTools - https://gpgtools.org iQIcBAEBCgAGBQJZj3deAAoJEE+wqdccjrGaWIMP/jc9Ai/jPLXl6V+WTQpww2TM QcLfyf9iP+E567xAgTucHebLFldwXfDyMiEb37dTukRZbEXzlpqrJ/fx7Ap9fZNE Omnefk05ePEO6mblatE/KEHWYpW0da6k0yCqEUTdygND6TQz7QILITbNqajBKBoV Z4s5s9hzrc30n5Y+WyaPtuQzdLlHFGR2aLKLVXE+sAEwuYSekcw4FF0fYRyRnv+Z wT6/89aUd3tGw5S3np4VgpStE9F9CEDoPi5L9gbeTixPlfSskUb23Au+nRy6WKYs NfR71XiGrLsGS1iwsLzbf5+KKxd+FPOIWFiEB4jRBnOwhD4z2Gi5yXWHn3cJ6vUs q3aORvWwzhlfY7TDP8L8A1i/gJInliZX9mZSpJ4Bs5ZqP8KArFc5kbboZCCXeGGH 2arrOxLkJU/3Y4Frt+0UE8eyVVR5JwONfYrev8+YdlOhk8cyffMU1EOUuZCaYtjX bNGdLMzMerFbvDvVf1Ayje3a5a/ftd29dmnlHgB9LOYq95AeQCjxnFhl6OtrfOaX GWycvqqrK3H4D8GNWQR2aWzrprnGUlRdMFm3H/XI1+nruMN0wfoMdyC0H00C1VD/ Iy2SPsmbRtAsh2MDtCn5ruxBkfGGcXQizbK7NvbID2gJOiLvN+dDRGEKryVfsubO 183qa/gEFZr7hin7rYCv =pfLn -----END PGP SIGNATURE----- --Apple-Mail=_25B4078F-9F0C-4FA0-A46D-AD0B615F05AF--