From owner-freebsd-arm@FreeBSD.ORG Wed Jan 30 16:30:04 2013 Return-Path: Delivered-To: freebsd-arm@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 2BC7CD40 for ; Wed, 30 Jan 2013 16:30:04 +0000 (UTC) (envelope-from george@ceetonetechnology.com) Received: from feynman.konjz.org (feynman.konjz.org [64.147.119.39]) by mx1.freebsd.org (Postfix) with ESMTP id E7962700 for ; Wed, 30 Jan 2013 16:30:03 +0000 (UTC) Received: from [192.168.1.102] (pool-173-77-66-239.nycmny.east.verizon.net [173.77.66.239]) (authenticated bits=0) by feynman.konjz.org (8.14.6/8.14.4) with ESMTP id r0UGTrut039934 (version=TLSv1/SSLv3 cipher=DHE-RSA-CAMELLIA256-SHA bits=256 verify=NO); Wed, 30 Jan 2013 11:29:58 -0500 (EST) (envelope-from george@ceetonetechnology.com) Message-ID: <51094A7A.4010705@ceetonetechnology.com> Date: Wed, 30 Jan 2013 11:29:46 -0500 From: George Rosamond MIME-Version: 1.0 To: Brett Wynkoop Subject: Re: Some ideas on Tim's script References: <51092D3A.4060608@ceetonetechnology.com> <20130130110138.62b4570e@ivory.lan> In-Reply-To: <20130130110138.62b4570e@ivory.lan> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 7bit X-Spam-Score: 5.32 (*****) FH_HOST_EQ_VERIZON_P,RDNS_DYNAMIC X-Spam-Hits: 5320 X-Spam-Names: FH_HOST_EQ_VERIZON_P,RDNS_DYNAMIC X-Spam-Flag: YES X-Mail-Provider: KonjZ X-Scanned-By: MIMEDefang 2.73 on 64.147.119.39 Cc: freebsd-arm@freebsd.org X-BeenThere: freebsd-arm@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list Reply-To: george@ceetonetechnology.com List-Id: Porting FreeBSD to the StrongARM Processor List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Wed, 30 Jan 2013 16:30:04 -0000 On 01/30/13 11:01, Brett Wynkoop wrote: > On Wed, 30 Jan 2013 09:24:58 -0500 > George Rosamond wrote: > >> I mentioned this to Tim offline a while back, but I have some quick >> thoughts on options for the scripts. >> >> A bunch of us in NYC*BUG have been hacking on Soekris and Alix boards >> with i386 for a long while, which lays the basis for some of these >> thoughts. >> >> But first, with 8G images, I had to adjust the config.sh's SD_SIZE >> below 7900 for Kingston SD Cards to fit. I can give more specifics >> if desired. Anyone else experience that? >> > > No problem with my microsd card, but I do not recall what brand it is > and I do not want to shut down the board to check. > >> In terms of /etc/fstab, I think adding tmpfs to the kernel would be >> useful. Without it, using md(4) for /var/log, /tmp and /var/tmp is >> certainly a nice way to minimize disk writes. >> > > I agree that tmpfs in the kernel would be good for the above. I haven't had issues with tmpfs even on 7.4, so I assume it's fine on CURRENT > >> It might also make sense to add rc_debug="YES" and rc_info="YES" to >> the default /etc/rc.conf. Most users are testing right now, and it's >> only logical for the pool of people hacking on them. >> >> And maybe to add the relevant ntpdate(8) settings to /etc/rc.conf. > > One of the first things I did was put ntpdate into startup, but for > boards not connected to the net that will create a several second hang. As bad as dhclient in rc? ;o My angle is making troubleshooting easier (as above with rc_debug and rc_info) and also easing the adoption of the script as a tool for newer users. g