THIS IS JUST BRAIN STORM :
Well I do not have a ssd drive and ok I do have a internal hdd(platern) on my dm8000 , but not on my duo2.
As far I can I develop on dm8000 and crosscheck with duo2 if nothings is broken into modern boxes. (this I only can do so long the actual kernel of the dm8000 is capable off following the gcc libc and g++ evolution which it does till now)
In general : then I do speak about linux ubuntu.
Now ubuntu 14.04.
A hdd platern main boot disk is mounted with : (by default up on install) platern
errors=remount-ro
any other hdd is mounted with
defaults
when You have a ssd user must change the defaults off ssd into : (read so what all linux manuals ubuntu,debian,slackware and ...)
for boot drive :
noatime,errors=remount-ro 0
for other ssd drive
noatime
for platerns
defaults
question is what are the defaults
gues that's another philosophy and strongly depended on which mount binary is used. the fact that on a stb we are using busy-box it may become a very space defaults
when a googled a bit around looks that noatime is not the best for a platern drive but a must for ssd.
Sorry guys on this point it's a bit off a jungle if you're self are not a real expert in the mather.
But :
@Dimitij
can you find a way on you're stb to check if you're drive is platern or ssd , if so this could be used just like @MiLo told into for example the mdev-mount script that's pretty easy.
Then if it's a ssd drive always it will be mounted with noatime . the rest of devices with relatime.
For the trim ??? well we could just make a optional e2-plugin-extention which up on install will just excecute the trimfs every day .
Then if I user decides to start with a real unformated new drive straight into stb. Perhaps make a formating option which uses only all space - the last 7 % limited to max 10 GB to have the last part unallocated
Edited by christophecvr, 22 April 2016 - 21:58.