On 2011/02/20 11:59, Ted Unangst wrote: > On Sun, Feb 20, 2011 at 7:28 AM, Mark Kettenis <mark.kette...@xs4all.nl> > wrote: > > Ah, that's the bit I was missing. A userland tool to display and > > manipulate the cache settings would still be good though. > > Functionality should probably be added to bioctl(8). A bit > > unfortunate that both the -c and -C options are already taken.
-w or -W wouldn't be too bad an alternative (_w_rite cache). > We also have a scsi(8) tool that seems more analogous to atactl (which > can manipulate cache behavior). scsi(8) can manipulate write cache on some drives too. But in this case we're talking about a setting for the volume rather than for drives, so bioctl(8) wouldn't be a bad choice. (I don't know about mpii, but for mpi the vendor management tool in some OS allows you to set this, and bioctl is the closest analogue to this).