rbrito / usbmount

Simple set of scripts to automount removable devices for a Linux system
275 stars 86 forks source link

Spin Down/ Standby option in config file #22

Open berserkore opened 5 years ago

berserkore commented 5 years ago

Hi,

I cannot find any option to spin down or standby the hard drive. Do you know if there is an option or alternative that usbmount implements within his configuration file?

Best regards

mathieulj commented 5 years ago

There is no such option nor any alternative implementations in usbmount. usbmount does not manage the disk operations itself, it simply asks for the disk to be mounted when it is inserted. It has no way of knowing if/when the system is done with the disk and it is not notified of the presence(or absence) of IO operations so it cannot un-mount automatically.