Skip site navigation (1)Skip section navigation (2)
Date:      Fri, 16 Feb 2024 04:08:09 +0000
From:      Ordinary Bit <ordinarybit@proton.me>
To:        Mark Millard <marklmi@yahoo.com>
Cc:        "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org>
Subject:   Re: newfs TRIM flag device support
Message-ID:  <DL-bGuTxmOC5O2N-3wa9mbkuJ6VMeRTrwiHT_eOaHeopBXr_JfbRiHKiiyncADaXrn8H575uLNIkdxjNV0Nogz3IJuVfE_T8jcU30voSkYI=@proton.me>
In-Reply-To: <6AD380D4-9B42-4511-9E02-94EB0005D278@yahoo.com>
References:  <zBjNO8pJgkvHeMFBa74-f89m7IO_mgcHccwonGg0sZNJtDds49EICbFezJwbGJYnQDSVEI_tm3vCG4pjpdwiNyAtfF9lYfAn9znBR2I0AMQ=@proton.me> <6AD380D4-9B42-4511-9E02-94EB0005D278@yahoo.com>

next in thread | previous in thread | raw e-mail | index | archive | help
Hi!

On Friday, 16 February 2024 at 11:41, Mark Millard <marklmi@yahoo.com> wrot=
e:

> [Only replying to lists I subscribe to.]
>=20
> On Feb 15, 2024, at 19:19, Ordinary Bit ordinarybit@proton.me wrote:
>=20
> > I'm reading the newfs manual https://man.freebsd.org/cgi/man.cgi?newfs(=
8) to be able to know about the TRIM flag. In the manual under -t parameter=
, it mentioned about "underlying device support", what exactly is this devi=
ce?
>=20
>=20
> 2 contrasting examples:
>=20
>=20
> Example 0: Optane NVMe media (PCIe card or U.2, for example)
>=20
> Optane has no need of TRIM and, so, never supports TRIM.
>=20
>=20
> Example 1: microsd card media usage
>=20
> A microsd card in the normal type of microsd card slot on
> Small Board Computers (normally) supports TRIM. Take the
> same card and put it in a USB reader/writer and use it
> via USB on the same system: no TRIM is supported by
> FreeBSD over USB.
>

So you mean to say that if I have a Rasperry Pi 3 or 4 now and then have my=
 FreeBSD installed in a microSD card (for example, SanDisk Extreme card) wi=
th UFS/FFS filesytem in it with TRIM enabled parameter then is it going to =
recognize it? How to verify?

>=20
> FYI:
>=20
> When the file system has TRIM enabled, FreeBSD put out a
> notice if TRIM will not actually be used in the actual
> context in use.
>

Ok, got it. How to check this as well?

BR,
orbit




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?DL-bGuTxmOC5O2N-3wa9mbkuJ6VMeRTrwiHT_eOaHeopBXr_JfbRiHKiiyncADaXrn8H575uLNIkdxjNV0Nogz3IJuVfE_T8jcU30voSkYI=>