Created
December 12, 2018 11:09
-
-
Save assafmo/eb6db486ac6df78c9d200888f112feab to your computer and use it in GitHub Desktop.
Rescan hard drives without rebooting
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
#!/bin/bash | |
echo "- - -" > sudo tee /sys/class/scsi_host/*/scan |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment