TIP: Click on subject to list as thread! ANSI
echo: rberrypi
to: ALL
from: DENNIS LEE BIEBER
date: 2021-03-20 09:12:00
subject: Re: Raspbian on ext4: Str

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)


--
 Wulfraed                 Dennis Lee Bieber         AF6VN
 wlfraed@ix.netcom.com    http://wlfraed.microdiversity.freeddns.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™.