Last active
January 11, 2017 00:45
-
-
Save oboff/2a697034f754afecb39388c37af1ca5d to your computer and use it in GitHub Desktop.
This file contains hidden or 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
/* | |
* Removes power management and keeps USB hard drive alive in Linux | |
* You can dissable the powermanagement of your device with the following command (no powermanagement = no spindown - no standby for the harddrive) | |
*/ | |
hdparm -B 255 /dev/sdX | |
/* | |
* replace sdX with the name of your harddrive | |
* This will only last till you restart your pc. | |
* | |
* If you want it to be permanent: write the command in this file | |
*/ | |
/etc/rc.local |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment