加入收藏 | 设为首页 | 会员中心 | 我要投稿 李大同 (https://www.lidatong.com.cn/)- 科技、建站、经验、云计算、5G、大数据,站长网!
当前位置: 首页 > 综合聚焦 > 服务器 > Linux > 正文

linux – “echo”中的“ – – – ”是什么 – – – “> /

发布时间:2020-12-13 18:01:34 所属栏目:Linux 来源:网络整理
导读:我知道 linux命令 echo "- - -" /sys/class/scsi_host/host0/scan 用于重新扫描scsi主机.但是“ – – – ”在命令中意味着什么? 解决方法 这三个值代表通道,SCSI目标ID和LUN.破折号充当通配符,意思是“重新扫描一切” A quick google search出现this RHEL
我知道 linux命令
echo "- - -" > /sys/class/scsi_host/host0/scan

用于重新扫描scsi主机.但是“ – – – ”在命令中意味着什么?

解决方法

这三个值代表通道,SCSI目标ID和LUN.破折号充当通配符,意思是“重新扫描一切”

A quick google search出现this RHEL doc (and dozens of other answers)

This is the same command described in Section 7,“Adding a Storage Device or Path” to add a storage device or path. In this case,however,the channel number,SCSI target ID,and LUN values are replaced by wildcards. Any combination of identifiers and wildcards is allowed,allowing you to make the command as specific or broad as needed. This procedure will add LUNs,but not remove them.

(编辑:李大同)

【声明】本站内容均来自网络,其相关言论仅代表作者个人观点,不代表本站立场。若无意侵犯到您的权利,请及时与联系站长删除相关内容!

    推荐文章
      热点阅读