Skip to content

Instantly share code, notes, and snippets.

@richardsonlima
Created January 16, 2017 18:10
Show Gist options
  • Save richardsonlima/6aa73e8e4fd4f64fec5cae19016e3a15 to your computer and use it in GitHub Desktop.
Save richardsonlima/6aa73e8e4fd4f64fec5cae19016e3a15 to your computer and use it in GitHub Desktop.
Detect a New Hard Disk Without Rebooting VMware Linux Guest
ls /sys/class/scsi_host/ | while read host ; do echo "- - -" > /sys/class/scsi_host/$host/scan ; done
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment