Hello,
I bought an external ssd-drive. The device notifier founds it and mounts it on manual demand. So far, so good. But how can I achieve that device notifier mounts it with options discard and noatime?
For discard you could resort to batch discard, as lined out here (http://news.siduction.org/2014/10/revisting-an-article-on-how-to-set-up-solid-state-disks-with-linux/). That is even the better way to do it.
greetz
devil
Quote from: orinoco on 2014/12/18, 11:22:18
... how can I achieve that device notifier mounts it with options discard and noatime?
Those are options of the "mount" command. Device notifier does not invoke the mount command, therefore you can't do it that way.
Take a look at the usbmount package. Configuration options can be set at /etc/usbmount/usbmount.conf. Or so I read -- I haven't tried it myself. And it might or might not play nice with other USB devices -- no guarantees.