Putting drives to sleep only when logged out

Discussion in 'macOS' started by pherplexed, Feb 3, 2010.

  1. pherplexed macrumors member

    Joined:
    Feb 28, 2005
    #1
    When you disable the setting "Put disks to sleep whenever possible" is this a per-user setting or are you setting the preference for the whole system?

    What I'm getting at is that I'd like my external drive on my workstation to stay spinning when I'm working, but at night I log out and want the drive to spin down.

    Anybody know?
     
  2. spinnerlys Guest

    spinnerlys

    Joined:
    Sep 7, 2008
    Location:
    forlod bygningen
    #2
    You could try it yourself if it works, but you could also put the Mac to sleep or power it down, that will spin the HDDs down.

    As far as I know, the setting in Energy Saver is user dependent.
     
  3. calderone macrumors 68040

    calderone

    Joined:
    Aug 28, 2009
    Location:
    Seattle
    #3
    Energy Saver is not a user level preference. It is system-wide.

    The plist resides in /Library/Preferences/SystemConfiguration/com.apple.PowerManagement.plist

    If you want different behavior, I would create login and logout hooks that change the "Disk Sleep Timer" setting.

    For details on login and logout hooks see here: http://www.bombich.com/mactips/loginhooks.html
     
  4. spinnerlys Guest

    spinnerlys

    Joined:
    Sep 7, 2008
    Location:
    forlod bygningen
    #4
    That's good to know, learned something new today. Thanks.
     
  5. pherplexed thread starter macrumors member

    Joined:
    Feb 28, 2005

Share This Page