From: Bruce Momjian <bruce@momjian.us>
To: PostgreSQL-documentation <pgsql-docs@postgresql.org>
Subject: hdparm doc improvement
Date: Tue, 14 Feb 2012 17:43:03 -0500
Message-ID: <20120214224303.GB3424@momjian.us> (raw)
I have applied the attached patch to mention -W _0_ turns off write
caching. The official Linux docs are unclear that you need a zero
there.
--
Bruce Momjian <bruce@momjian.us> http://momjian.us
EnterpriseDB http://enterprisedb.com
+ It's impossible for everything to be true. +
Attachments:fsync (text/plain, 1.1K) downloaddiff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgmlnew file mode 100644index 1d1924b..0afb9d6
*** a/doc/src/sgml/wal.sgml
--- b/doc/src/sgml/wal.sgml
***************
*** 73,79 ****
<para>
On <productname>Linux</>, IDE drives can be queried using
<command>hdparm -I</command>; write caching is enabled if there is
! a <literal>*</> next to <literal>Write cache</>. <command>hdparm -W</>
can be used to turn off write caching. SCSI drives can be queried
using <ulink url="http://sg.danny.cz/sg/sdparm.html"><application>sdparm</></ulink>.
Use <command>sdparm --get=WCE</command> to check
--- 73,79 ----
<para>
On <productname>Linux</>, IDE drives can be queried using
<command>hdparm -I</command>; write caching is enabled if there is
! a <literal>*</> next to <literal>Write cache</>. <command>hdparm -W 0</>
can be used to turn off write caching. SCSI drives can be queried
using <ulink url="http://sg.danny.cz/sg/sdparm.html"><application>sdparm</></ulink>.
Use <command>sdparm --get=WCE</command> to check
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: bruce@momjian.us
Subject: Re: hdparm doc improvement
In-Reply-To: <20120214224303.GB3424@momjian.us>
* 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