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  <[email protected]>        http://momjian.us
  EnterpriseDB                             http://enterprisedb.com

  + It's impossible for everything to be true. +
diff --git a/doc/src/sgml/wal.sgml b/doc/src/sgml/wal.sgml
new file mode 100644
index 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
-- 
Sent via pgsql-docs mailing list ([email protected])
To make changes to your subscription:
http://www.postgresql.org/mailpref/pgsql-docs

Reply via email to