From owner-freebsd-fs@FreeBSD.ORG Tue Jul 25 16:12:58 2006 Return-Path: X-Original-To: freebsd-fs@freebsd.org Delivered-To: freebsd-fs@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 5564116A4DD for ; Tue, 25 Jul 2006 16:12:58 +0000 (UTC) (envelope-from anderson@centtech.com) Received: from mh1.centtech.com (moat3.centtech.com [207.200.51.50]) by mx1.FreeBSD.org (Postfix) with ESMTP id 567FB43D70 for ; Tue, 25 Jul 2006 16:12:53 +0000 (GMT) (envelope-from anderson@centtech.com) Received: from [10.177.171.220] (neutrino.centtech.com [10.177.171.220]) by mh1.centtech.com (8.13.1/8.13.1) with ESMTP id k6PGCnWO057429; Tue, 25 Jul 2006 11:12:49 -0500 (CDT) (envelope-from anderson@centtech.com) Message-ID: <44C6430D.1050506@centtech.com> Date: Tue, 25 Jul 2006 11:13:01 -0500 From: Eric Anderson User-Agent: Thunderbird 1.5.0.4 (X11/20060612) MIME-Version: 1.0 To: =?ISO-8859-1?Q?Dag-Erling_Sm=F8rgrav?= References: <20060724185205.17021.qmail@web31812.mail.mud.yahoo.com> <86wta1en0e.fsf@xps.des.no> In-Reply-To: <86wta1en0e.fsf@xps.des.no> Content-Type: text/plain; charset=ISO-8859-1; format=flowed Content-Transfer-Encoding: 8bit X-Virus-Scanned: ClamAV 0.87.1/1618/Mon Jul 24 20:12:40 2006 on mh1.centtech.com X-Virus-Status: Clean Cc: freebsd-fs@freebsd.org Subject: Re: Advice for hacking on ufs/ffs X-BeenThere: freebsd-fs@freebsd.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: Filesystems List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 25 Jul 2006 16:12:58 -0000 On 07/25/06 10:13, Dag-Erling Smørgrav wrote: > Shane Adams writes: >> I'm a programmer that is new to kernel development. I'm interested >> in hacking around on UFS and FFS. I only have one machine so I >> copied the complete sys/ufs code to a new directory under fs, and >> changed a few things to get it to compile and mount. Everything >> works, and I was ready to start hacking without worrying so much >> about screwing up my system. >> >> Naturally I've rebooted the machine a few times since then, and I >> was wondering if anyone has advice for a fledgling kernel >> programmer. (Best practices) > > Get a test machine with a PXE-capable network adapter, and set up your > workstation as bootp / dhcp and NFS server. Having a dedicated test > box will save time as you won't have to reboot your workstation to > test your code, and setting it up diskless will help even further. A > serial console cable will help even more, as it will save you from > moving from one keyboard to another and will give you a scrollback of > the test machine's console from which you can copy / paste error > messages, backtraces etc. > > DES DES - anything special with the nfs root'ed box, to make this work well? The only reason I didn't set this up for my work is because it isn't portable.. :) Eric -- ------------------------------------------------------------------------ Eric Anderson Sr. Systems Administrator Centaur Technology Anything that works is better than anything that doesn't. ------------------------------------------------------------------------