From owner-freebsd-hackers@FreeBSD.ORG Sat May 7 13:11:24 2005 Return-Path: Delivered-To: freebsd-hackers@freebsd.org Received: from mx1.FreeBSD.org (mx1.freebsd.org [216.136.204.125]) by hub.freebsd.org (Postfix) with ESMTP id 7212916A4DA for ; Sat, 7 May 2005 13:11:24 +0000 (GMT) Received: from rproxy.gmail.com (rproxy.gmail.com [64.233.170.200]) by mx1.FreeBSD.org (Postfix) with ESMTP id 1D5A843D72 for ; Sat, 7 May 2005 13:11:24 +0000 (GMT) (envelope-from diparfitt@gmail.com) Received: by rproxy.gmail.com with SMTP id a41so614413rng for ; Sat, 07 May 2005 06:11:23 -0700 (PDT) DomainKey-Signature: a=rsa-sha1; q=dns; c=nofws; s=beta; d=gmail.com; h=received:message-id:date:from:reply-to:to:subject:in-reply-to:mime-version:content-type:content-transfer-encoding:content-disposition:references; b=hBZY0h3o/bej99tTnCo5pYp8N/O+Sm3BgpSiEEaApwO6wsSX6smjw/9lO4Sm7Z4Esdpg51b20HWnQ9NxBrpOeZIsso9ld4Bc2yJ5iDBdSF4sHlT0QOOq5YdRqy0ah5hzTXVp6IAsSTISpYhCN8ZiDSAPRbGIynF2CDH2+LynJ7Y= Received: by 10.38.12.30 with SMTP id 30mr588390rnl; Sat, 07 May 2005 06:11:23 -0700 (PDT) Received: by 10.38.74.40 with HTTP; Sat, 7 May 2005 06:11:23 -0700 (PDT) Message-ID: <3c220db00505070611753c7843@mail.gmail.com> Date: Sat, 7 May 2005 08:11:23 -0500 From: David Parfitt To: freebsd-hackers@freebsd.org In-Reply-To: <1115416757.96600.9391.camel@palm> Mime-Version: 1.0 Content-Type: text/plain; charset=ISO-8859-1 Content-Transfer-Encoding: quoted-printable Content-Disposition: inline References: <1115416757.96600.9391.camel@palm> Subject: Re: FS impl. X-BeenThere: freebsd-hackers@freebsd.org X-Mailman-Version: 2.1.1 Precedence: list Reply-To: David Parfitt List-Id: Technical Discussions relating to FreeBSD List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Sat, 07 May 2005 13:11:24 -0000 Hi - Thank you all for the suggestions - I have a long weekend of hacking ahead of me :-) Thanks again - David On 5/6/05, Stephan Uphoff wrote: > On Fri, 2005-05-06 at 16:01, Kip Macy wrote: > > On Fri, 6 May 2005, David Parfitt wrote: > > > > > Hi - > > > I have been trying to write my own UFS-like filesystem > > > implementation for fun. I had read somewhere that UFS was developed i= n > > > user space (correct me if I'm wrong on that one) and then moved over > > > to kernel-space. I was wondering if there are any existing facilities > > > in the kernel source tree that would allow me to develop an fs in use= r > > > space easily or with a little tweaking? As of right now, I have to > > > develop, compile, panic, reboot, debug etc. which is frustrating and > > > time consuming. > > > > > > I can't speak for user-space utilities, but using xen as a development > > environment would dramatically shorten the panic and reboot cycle. In a= ddition, > > you don't require a 2nd machine to debug with GDB. Just a thought. If b= ooting > > Linux makes you itch, NetBSD support for acting as the control plane is= supposed > > to be stable. >=20 > I agree. >=20 > I used this approach with vmware a while ago and was more than happy. > >From what I see xen reboots are even faster (I only tried Xen with > NetBSD and linux so far). Hopefully Kip's work will make it into current > before I need a setup like this for FreeBSD. >=20 > An alternative would be a fast booting second machine with PXE (network) > booting. (real server hardware takes forever to boot - use consumer > boxes without ECC memory,SCSI, memory test,...) >=20 > Things have changed a bit since UFS was developed making development in > user space more difficult due to extra functionality that would need to > be ported/emulated to/in user space. > There is also no pressure to do this since development in kernel space > is so much easier these days. >=20 > This being said I highly recommend writing user space test applications > that integrate modules/functions from your FS whenever possible. >=20 > Stephan >=20 >