Bug#318928: postgresql-8.0: should warn if disk cache is enabled

2005-07-19 Thread Martin Pitt
Hi Steinar! Steinar H. Gunderson [2005-07-18 19:31 +0200]: As discussed on Debconf5: postgres' postinst (or perhaps startup script) should warn if the data resides on a disk with write cache enabled (use hdparm?) I looked at this, but apart from hdparm -f (flush drive cache) I didn't find

Bug#318928: postgresql-8.0: should warn if disk cache is enabled

2005-07-19 Thread Steinar H. Gunderson
On Tue, Jul 19, 2005 at 10:44:27PM +0200, Martin Pitt wrote: I looked at this, but apart from hdparm -f (flush drive cache) I didn't find any hdparm option or output that indicates whether there is a drive cache. So how do I find this out? hdparm -i or -I, it seems. (Thanks to the friendly

Bug#318928: postgresql-8.0: should warn if disk cache is enabled

2005-07-18 Thread Steinar H. Gunderson
Package: postgresql-8.0 Severity: wishlist As discussed on Debconf5: postgres' postinst (or perhaps startup script) should warn if the data resides on a disk with write cache enabled (use hdparm?), as that can have potentially disastreous effects on your data integrity (unless you'd be lucky