TRIM on SD cards

John-Mark Gurney jmg at funkthat.com
Sat May 31 19:45:23 UTC 2014


Tim Kientzle wrote this message on Sat, May 31, 2014 at 10:25 -0700:
> On May 31, 2014, at 9:45 AM, Warner Losh <imp at bsdimp.com> wrote:
> 
> >  I never have liked DD for creating images, even when LBAs ruled the day because you?d always have to grow/shrink the FS afterwards.
> 
> A few of us have been experimenting with having
> growfs run automatically on first boot.  Seems to work okay,
> it just requires a couple of iterations to figure out the "proper"
> minimal FS size to start with.
> 
> If the FS is minimally sized, then there aren't many empty
> blocks to worry about.
> 
> The big advantage of DD images is that there are plentiful
> tools for Windows, Mac, etc, that can splat them onto a
> USB stick or SD card.

I'm close to committing my modified growfs that will run once on boot
when enabled...  I even wrote a manpage for it...  Just when I posted
it for review on -rc, I didn't get any...

-- 
  John-Mark Gurney				Voice: +1 415 225 5579

     "All that I will do, has been done, All that I have, has not."


More information about the freebsd-arm mailing list