pg.ddx.io  pgsql-docs@postgresql.org mailing list archive  
help / color / mirror / Atom feed
From: John Ekins <jrekins@gmail.com>
To: Peter Eisentraut <peter.eisentraut@2ndquadrant.com>
Cc: pgsql-docs@postgresql.org
Subject: Re: The reference to 'atacontrol' on FreeBSD is outdated.
Date: Sat, 12 Aug 2017 22:47:00 +0100
Message-ID: <E1F09343-9031-4351-9837-1C5FA8055A7E@gmail.com> (raw)
In-Reply-To: <29e222a6-fd45-e049-ac5c-6bcba6ecdfd0@2ndquadrant.com>
References: <20170808224017.8424.69170@wrigleys.postgresql.org>
	<29e222a6-fd45-e049-ac5c-6bcba6ecdfd0@2ndquadrant.com>
List-Unsubscribe: <mailto:majordomo@postgresql.org?body=unsub%20pgsql-docs>

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=atacontrol&amp;sektion=8&amp;apropos=0&amp;man...
>> 
>> 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              http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

Attachments:

  [application/pgp-signature] signature.asc (841B, ../E1F09343-9031-4351-9837-1C5FA8055A7E@gmail.com/3-signature.asc)
  download

view thread (6+ messages)  latest in thread

Message-ID: <E1F09343-9031-4351-9837-1C5FA8055A7E@gmail.com>
Permalink:  ../E1F09343-9031-4351-9837-1C5FA8055A7E@gmail.com/
Also on:    postgresql.org/message-id/E1F09343-9031-4351-9837-1C5FA8055A7E@gmail.com

 · 

reply

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Reply to all the recipients using the --to and --cc options:
  reply via email

  To: pgsql-docs@postgresql.org
  Cc: jrekins@gmail.com, peter.eisentraut@2ndquadrant.com
  Subject: Re: The reference to 'atacontrol' on FreeBSD is outdated.
  In-Reply-To: <E1F09343-9031-4351-9837-1C5FA8055A7E@gmail.com>

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

This inbox is served by DDX for PostgreSQL; see mirroring instructions
for how to clone and mirror all data and code used for this inbox