I think this is something that curtin should be able to determine on the fly, if could check that that device is an SSD (or supports TRIM) and enable discard.
I think this is something that curtin should be able to determine on the fly, if could check that that device is an SSD (or supports TRIM) and enable discard.