I have a compact SoC (System On a Chip) Dell laptop with the DF4032 SanDisk eMMC 32 GB storage device soldered to its only PCB, and there is no information concerning TRIM support for it anywhere. The file fstrim is present at /etc/cron.weekly/
#!/bin/sh
# trim all mounted file systems which support it
/sbin/fstrim --all || true
Running fstrim manually returns "30 GB ('N' bytes) trimmed" (apparently working, right?)
sudo hdparm -I /dev/mmcblk0 | grep "TRIM supported"
BUT the above command returns
HDIO_DRIVE_CMD(identify) failed: Invalid argument
So how else can I check if Ubuntu is performing TRIM out-of-the-box for this eMMC or if it even supports it? Would it be safe to include --no-model-check on the fstrim file? I would need to specify the /dev/mmcblk0 device so it would not mess with the SDHC card inserted. TRIM can be deadly for some not so popular devices.