Skip to content

drahnr/autosuspenddisk

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

3 Commits
 
 
 
 
 
 

Repository files navigation

autosuspenddisk

Suspends disks on bootup.

Why

The best way to handle the many disk situation would be to use PUIS (power up in standby) but since many consumer grade mainboards do not support that standard, this is the way to go.

How

I created a systemd template unit file which you can then use to suspend any disk based on its UUID.

Install

su -c'./setup.sh'

Usage

ls -al /dev/disk/by-uuid/

Pick the disk you want to suspend.

su -c'systemctl enable autosuspenddisk@5.....9-8..4-4ff3-4..a-6..........8'
su -c'systemctl start autosuspenddisk@5.....9-8..4-4ff3-4..a-6..........8'

About

systemd way of automatically suspending a disk on bootup

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages