I want to connect another hard disk to my computer, which I want to sleep 99% of the time. I will only use it for a few things, but I need it to be mounted at all times.
To achieve this I would like to know:
- How do I log which processes accesses a device? I need the logging to be able to tell what is causing the hard disk to wake up if it does, so I may act on it.
- Are there any special kernel settings I need to make so that the device may sleep longer?
- How do I set the sleep intervals of the hard disk?