Richard Kettlewell <
r...@greenend.org.uk> wrote:
> (ii) the error code corresponds to the underlying block device lacking
> discard support (unimplemented ioctls yield EINVAL)
I wonder if that's it. Were all SD cards accessed through the native Pi SD
slot? The SD card protocol does support explicit erase operations and it
appears the Linux MMC driver does use that for TRIM.
Questions: are we talking the same card here? Some cards handle erase in
nonstandard ways which might not be supported. And were any used in a USB
reader? Many USB readers don't support erases (I'm not sure if the USB Mass
Storage standard implements them - SCSI does, but I think it's a recent
addition).
Theo