From owner-freebsd-arm@FreeBSD.ORG Sat May 31 17:43:51 2014 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTPS id C5CB077A for ; Sat, 31 May 2014 17:43:51 +0000 (UTC) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 81B3E2C34 for ; Sat, 31 May 2014 17:43:51 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id s4VHPB9i047562; Sat, 31 May 2014 17:25:11 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.101] (192.168.1.66 [192.168.1.66]) by kientzle.com with SMTP id pckx8zpfeygpixfn88zhgdh37w; Sat, 31 May 2014 17:25:11 +0000 (UTC) (envelope-from tim@kientzle.com) Content-Type: text/plain; charset=windows-1252 Mime-Version: 1.0 (Mac OS X Mail 7.3 \(1878.2\)) Subject: Re: TRIM on SD cards From: Tim Kientzle In-Reply-To: <05005B04-1BDA-4242-946B-28D0DA069A42@bsdimp.com> Date: Sat, 31 May 2014 10:25:11 -0700 Content-Transfer-Encoding: quoted-printable Message-Id: <931C85D3-3D43-461E-9A78-BFB4451E9342@kientzle.com> References: <20140531004306.GI26883@cicely7.cicely.de> <1401505209.20883.34.camel@revolution.hippie.lan> <20140531102305.GK26883@cicely7.cicely.de> <05005B04-1BDA-4242-946B-28D0DA069A42@bsdimp.com> To: Warner Losh X-Mailer: Apple Mail (2.1878.2) Cc: freebsd-arm X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: "Porting FreeBSD to ARM processors." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 31 May 2014 17:43:51 -0000 On May 31, 2014, at 9:45 AM, Warner Losh wrote: > I never have liked DD for creating images, even when LBAs ruled the = day because you=92d 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. Tim