Date: Mon, 4 Feb 2013 22:33:56 -0800 From: Tim Kientzle <tim@kientzle.com> To: Alie Tan <alie@affle.com> Cc: "freebsd-arm@freebsd.org" <freebsd-arm@freebsd.org> Subject: Re: SD card -image- for the beaglebone Message-ID: <3D07951F-36FD-40D5-AF96-83280A71B746@kientzle.com> In-Reply-To: <CANuCnH_5qgzzXdjQOB8B39z_SGnZZhv89PWjx73s9HePMfdnEA@mail.gmail.com> References: <510A4F5B.7000407@g7iii.net> <037A538B-434B-4168-9591-99ABA39C6006@kientzle.com> <7EDE0DF3-1213-4359-935D-5032E6441290@kientzle.com> <CANuCnH_5qgzzXdjQOB8B39z_SGnZZhv89PWjx73s9HePMfdnEA@mail.gmail.com>
index | next in thread | previous in thread | raw e-mail
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.) Timhome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?3D07951F-36FD-40D5-AF96-83280A71B746>
