Re: The reference to 'atacontrol' on FreeBSD is outdated.

From: John Ekins <jrekins(at)gmail(dot)com>
To: Peter Eisentraut <peter(dot)eisentraut(at)2ndquadrant(dot)com>
Cc: pgsql-docs(at)postgresql(dot)org
Subject: Re: The reference to 'atacontrol' on FreeBSD is outdated.
Date: 2017-08-12 21:47:00
Message-ID: E1F09343-9031-4351-9837-1C5FA8055A7E@gmail.com
Views: Raw Message | Whole Thread | Download mbox | Resend email
Thread:
Lists: pgsql-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(at)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(dot)eisentraut(at)2ndquadrant(dot)com> wrote:
>
> On 8/8/17 18:40, jrekins(at)gmail(dot)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;manpath=FreeBSD+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 http://www.2ndQuadrant.com/
> PostgreSQL Development, 24x7 Support, Remote DBA, Training & Services

In response to

Responses

Browse pgsql-docs by date

  From Date Subject
Next Message varga.dora 2017-08-15 12:39:37 Postgres user lost his superuser authority
Previous Message Erwin Brandstetter 2017-08-11 21:54:50 Contradicting information on the "vacuum threshold"