KDE device notifier and mount options for external ssd?

Started by orinoco, 2014/12/18, 11:22:18

Previous topic - Next topic

orinoco

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?

devil

For discard you could resort to batch discard, as lined out here. That is even the better way to do it.


greetz
devil

dibl

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.
System76 Oryx Pro, Intel Core i7-11800H, ASRock B860 Pro-A, Intel Core Ultra 7 265KF, Nvidia GTX-1060, SSD 990 EVO Plus.