hausnoob.blogg.se

Western digital external drives for mac
Western digital external drives for mac












western digital external drives for mac
  1. #Western digital external drives for mac mac os#
  2. #Western digital external drives for mac install#

I effectively did something very similar to this to make that damn drive not spin down (it's where I store all the files I serve to my PS3.so it was really annoying). DISCLAIMER: This is not really my hint, but a variation of someone else's, but I don't remember where I got it from, sorry! It can be argued that this may shorten the life of the HD, but from what I've read in various forums, having the HD spinning down and up constantly also causes severe strain on the HD, especially in situations like mine where the HD is constantly on. I've done this and the drive has remained sleepless since.

#Western digital external drives for mac install#

Install Lingon, then build a new Agent in the My Agents category, choose a unique name for it (such as ), input the location of the script, and tell it to run it every five minutes.

#Western digital external drives for mac mac os#

The best way to run this script every five minutes is to use the launchd system built into Mac OS X, and a donationware app called Lingon is a great tool to manage it. Replace no_sleep_script.sh with whatever you named the script. Here's that code: #!/bin/bash# Used to not let a volume named MYBOOK sleepvolpresent=$(mount | grep MYBOOK | wc -c)if then touch /Volumes/MYBOOK/.hiddenfilefiThis script should be made executable by running the following on the Terminal: chmod +x. This is done by first building a small script in bash that touches the hidden file and that also checks if the hard drive is mounted, so as to not flood the system logs if the drive isn't connected. This is annoying, as even if you are browsing files in the Finder without looking at the ones on the hard drive, the Finder triggers a spin-up, and then bogging down the system until the hard drive has finished spinning up.Ī workaround for this is to not let the hard drive be inactive for more than five minutes by constantly touching a hidden file on the hard drive.

western digital external drives for mac

Meaning that no matter what preferences are set in System Preferences, if 10 minutes of inactivity have passed, the hard drive will go to sleep.

western digital external drives for mac

A problem with some of the Western Digital's My Book external hard drives is that they have a spin-down functionality built into their firmware.














Western digital external drives for mac