On Sat, 20 Mar 2021 09:12:57 -0400, Dennis Lee Bieber wrote:
> On Sat, 20 Mar 2021 00:00:55 -0000 (UTC), Martin Gregorie
> declaimed the following:
>
>
>
>>I assume from this that by design fstrim does nothing when pointed at a
>>partition on and SD card. Can anybody confirm this? The manpage is
>>silent about using in on SD cards.
>>
> It does, however, state:
>
> """
> -a, --all
> Trim all mounted filesystems on devices that support the
> discard operation. The other supplied options, like
> --offset, --length and --minimum, are applied to all these
> devices. Errors from filesystems that do not support the
> discard operation, read-only devices and read-only
> filesystems are silently ignored.
> """
>
> I would suspect SD cards do not have "discard" (after all, they
are,
> for the most part, optimized for FAT file systems)
That makes sense. Thanks.
--
Martin | martin at
Gregorie | gregorie dot org
--- SoupGate-Win32 v1.05
* Origin: Agency HUB, Dunedin - New Zealand | FidoUsenet Gateway (3:770/3)
|