TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: DENNIS LEE BIEBER
from: MARTIN GREGORIE
date: 2021-03-20 15:22:00
subject: Re: Raspbian on ext4: Str

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)

SOURCE: echomail via QWK@docsplace.org

Email questions or comments to sysop@ipingthereforeiam.com
All parts of this website painstakingly hand-crafted in the U.S.A.!
IPTIA BBS/MUD/Terminal/Game Server List, © 2025 IPTIA Consulting™.