Something similar to Linux's hdparm ?
http://www.google.com/search?q=hdparm%20bsd
-*- Bruce Momjian <pgman@candle.pha.pa.us> [ 2003-07-30 19:41 ]:
> Andrew Sullivan wrote:
> > On Wed, Jul 30, 2003 at 12:38:54AM -0400, Bruce Momjian wrote:
> > > Guys, I just replied to this email on the BSDi email list. The issue is
> > > that someone found that some(most?) IDE drives have write cache enabled,
> > > though the drives do not preserve the write cache data on power failure.
> >
> > It's yet worse than this. Some IDE drives will respond to the
> > command to turn off write cacheing, but they _don't actually turn it
> > off_. In other words, you think you've done the right thing, and you
> > haven't anyway.
>
> Is there an interface to control this with IDE drives? I know there is
> scsicmd for SCSI, but I didn't think IDE had any similar interface to
> control the drive.
>
> --
> Bruce Momjian | http://candle.pha.pa.us
> pgman@candle.pha.pa.us | (610) 359-1001
> + If your life is a hard drive, | 13 Roberts Road
> + Christ can be your backup. | Newtown Square, Pennsylvania 19073
>
> ---------------------------(end of broadcast)---------------------------
> TIP 5: Have you checked our extensive FAQ?
>
> http://www.postgresql.org/docs/faqs/FAQ.html
--
Kveðja,
Tolli
tolli@tol.li