1 .. SPDX-License-Identifier: GPL-2.0 2 3 ====================================== 4 Linux SCSI Disk Driver (sd) Parameters 5 ====================================== 6 7 cache_type (RW) 8 --------------- 9 Enable/disable drive write & read cache. 10 11 =========================== === === ====== 12 cache_type string WCE RCD Write 13 =========================== === === ====== 14 write through 0 0 off 15 none 0 1 off 16 write back 1 0 on 17 write back, no read (daft) 1 1 on 18 =========================== === === ====== 19 20 To set cache type to "write back" and save thi 21 22 # echo "write back" > cache_type 23 24 To modify the caching mode without making the 25 "temporary " to the cache type string. E.g.:: 26 27 # echo "temporary write back" > cache_type
Linux® is a registered trademark of Linus Torvalds in the United States and other countries.
TOMOYO® is a registered trademark of NTT DATA CORPORATION.