From: doubled Date: Sun, 14 Sep 2025 02:52:08 +0000 (+0800) Subject: docs/zh_CN: Add sd-parameters.rst translation X-Git-Tag: v6.19-rc1~184^2~45^2~3 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=89ac14006fdebc8d83ac420e7d1a9fa785cfdab7;p=thirdparty%2Flinux.git docs/zh_CN: Add sd-parameters.rst translation Translate .../scsi/sd-parameters.rst into Chinese. Add sd-parameters into .../scsi/index.rst. Update the translation through commit d835971b2b89 ("scsi: docs: convert sd-parameters.txt to ReST") Signed-off-by: doubled Signed-off-by: Alex Shi --- diff --git a/Documentation/translations/zh_CN/scsi/index.rst b/Documentation/translations/zh_CN/scsi/index.rst index 4d83ab431d2ca..f13c419b134c3 100644 --- a/Documentation/translations/zh_CN/scsi/index.rst +++ b/Documentation/translations/zh_CN/scsi/index.rst @@ -50,9 +50,10 @@ SCSI主机适配器驱动 .. toctree:: :maxdepth: 1 + sd-parameters + Todolist: -* sd-parameters * 53c700 * aacraid * advansys diff --git a/Documentation/translations/zh_CN/scsi/sd-parameters.rst b/Documentation/translations/zh_CN/scsi/sd-parameters.rst new file mode 100644 index 0000000000000..b3d0445dc9f3a --- /dev/null +++ b/Documentation/translations/zh_CN/scsi/sd-parameters.rst @@ -0,0 +1,38 @@ +.. SPDX-License-Identifier: GPL-2.0 +.. include:: ../disclaimer-zh_CN.rst + +:Original: Documentation/scsi/sd-parameters.rst + +:翻译: + + 郝栋栋 doubled + +:校译: + + + +============================ +Linux SCSI磁盘驱动(sd)参数 +============================ + +缓存类型(读/写) +------------------ +启用/禁用驱动器读写缓存。 + +=========================== ===== ===== ======= ======= + 缓存类型字符串 WCE RCD 写缓存 读缓存 +=========================== ===== ===== ======= ======= + write through 0 0 关闭 开启 + none 0 1 关闭 关闭 + write back 1 0 开启 开启 + write back, no read (daft) 1 1 开启 关闭 +=========================== ===== ===== ======= ======= + +将缓存类型设置为“write back”并将该设置保存到驱动器:: + + # echo "write back" > cache_type + +如果要修改缓存模式但不使更改持久化,可在缓存类型字符串前 +添加“temporary ”。例如:: + + # echo "temporary write back" > cache_type