Received: from makus.postgresql.org (makus.postgresql.org [98.129.198.125]) by mail.postgresql.org (Postfix) with ESMTP id A2D7A11158B for ; Tue, 14 Feb 2012 18:43:16 -0400 (AST) Received: from momjian.us ([72.94.173.45]) by makus.postgresql.org with esmtp (Exim 4.72) (envelope-from ) id 1RxR5g-0006Ys-0n for pgsql-docs@postgresql.org; Tue, 14 Feb 2012 22:43:17 +0000 Received: from bruce by momjian.us with local (Exim 4.72) (envelope-from ) id 1RxR5T-0002ly-GC for pgsql-docs@postgresql.org; Tue, 14 Feb 2012 17:43:03 -0500 Date: Tue, 14 Feb 2012 17:43:03 -0500 From: Bruce Momjian To: PostgreSQL-documentation Subject: hdparm doc improvement Message-ID: <20120214224303.GB3424@momjian.us> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="jI8keyz6grp/JLjh" Content-Disposition: inline User-Agent: Mutt/1.5.20 (2009-06-14) X-Pg-Spam-Score: -1.9 (-) X-Archive-Number: 201202/9 X-Sequence-Number: 7193 --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: inline 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 http://momjian.us EnterpriseDB http://enterprisedb.com + It's impossible for everything to be true. + --jI8keyz6grp/JLjh Content-Type: text/plain; charset=us-ascii Content-Disposition: attachment; filename=fsync 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 **** On Linux, IDE drives can be queried using hdparm -I; write caching is enabled if there is ! a * next to Write cache. hdparm -W can be used to turn off write caching. SCSI drives can be queried using sdparm. Use sdparm --get=WCE to check --- 73,79 ---- On Linux, IDE drives can be queried using hdparm -I; write caching is enabled if there is ! a * next to Write cache. hdparm -W 0 can be used to turn off write caching. SCSI drives can be queried using sdparm. Use sdparm --get=WCE to check --jI8keyz6grp/JLjh--