From owner-freebsd-arm@FreeBSD.ORG Tue Feb 5 06:34:06 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by hub.freebsd.org (Postfix) with ESMTP id A1BA4EBB for ; Tue, 5 Feb 2013 06:34:06 +0000 (UTC) (envelope-from tim@kientzle.com) Received: from monday.kientzle.com (99-115-135-74.uvs.sntcca.sbcglobal.net [99.115.135.74]) by mx1.freebsd.org (Postfix) with ESMTP id 6382C958 for ; Tue, 5 Feb 2013 06:34:05 +0000 (UTC) Received: (from root@localhost) by monday.kientzle.com (8.14.4/8.14.4) id r156Xvv3084074; Tue, 5 Feb 2013 06:33:57 GMT (envelope-from tim@kientzle.com) Received: from [192.168.2.143] (CiscoE3000 [192.168.1.65]) by kientzle.com with SMTP id t3828seepbz4aj6crnssf3c7bn; Tue, 05 Feb 2013 06:33:57 +0000 (UTC) (envelope-from tim@kientzle.com) Subject: Re: SD card -image- for the beaglebone Mime-Version: 1.0 (Apple Message framework v1283) Content-Type: text/plain; charset=windows-1252 From: Tim Kientzle In-Reply-To: Date: Mon, 4 Feb 2013 22:33:56 -0800 Content-Transfer-Encoding: 7bit Message-Id: <3D07951F-36FD-40D5-AF96-83280A71B746@kientzle.com> References: <510A4F5B.7000407@g7iii.net> <037A538B-434B-4168-9591-99ABA39C6006@kientzle.com> <7EDE0DF3-1213-4359-935D-5032E6441290@kientzle.com> To: Alie Tan X-Mailer: Apple Mail (2.1283) Cc: "freebsd-arm@freebsd.org" X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 05 Feb 2013 06:34:06 -0000 On Feb 4, 2013, at 2:27 AM, Alie Tan wrote: > Hi Tim. > > How do you do autosizing feature? I added an rc.d script (that runs very early in the boot) that uses "gpart resize" and "growfs". Then I just build the image for a small (1G) card size. There is a strange issue with gpart resize that I'd like to track down -- if you have to resize two partitions then you must reboot in between them. I don't understand why. Apart from that oddity, it seems to work just fine. (Large thanks to Edward's very recent changes to allow growfs to work with mounted filesystems.) Tim