SUMMARY: How to make write cache enabled permanent

From: przemolicc@poczta.fm
Date: Fri Dec 13 2002 - 01:42:46 EST


Thanks to Espen Martinsen. He gave me simple (and working) solution.

make yourself an rc-script, call it
/etc/rc2.d/S50write_cache

#start:

#!/bin/sh

doit () {
/usr/sbin/format -e $1 > /dev/null 2>&1 <<EOF
cache
write_cache
enable
EOF
}
#fill in your disks here:
doit c0t12d0
doit c0t11d0
doit c0t10d0
#...end og rc-script

Below my original question.

przemol

On Thu, Dec 12, 2002 at 08:17:01AM +0100, przemolicc@poczta.fm wrote:
> I use format -e -> cache -> write_cache -> enable
> to enable write cache on some disks. Is there any way to save the
> settings between reboots ?
_______________________________________________
sunmanagers mailing list
sunmanagers@sunmanagers.org
http://www.sunmanagers.org/mailman/listinfo/sunmanagers



This archive was generated by hypermail 2.1.7 : Wed Apr 09 2008 - 23:25:27 EDT