I know the linux command
echo "- - -" > /sys/class/scsi_host/host0/scan
is used to rescan scsi host. But what does "- – -" mean in the command?
linuxscsi
I know the linux command
echo "- - -" > /sys/class/scsi_host/host0/scan
is used to rescan scsi host. But what does "- – -" mean in the command?
Best Answer
The three values stand for channel, SCSI target ID, and LUN. The dashes act as wildcards meaning "rescan everything"
A quick google search turns up this RHEL doc (and dozens of other answers)