Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 24 Jul 2006 11:52:05 -0700 (PDT)
From:      Shane Adams <adamsch1@yahoo.com>
To:        freebsd-fs@freebsd.org
Subject:   Advice for hacking on ufs/ffs
Message-ID:  <20060724185205.17021.qmail@web31812.mail.mud.yahoo.com>

next in thread | raw e-mail | index | archive | help
Hello,

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)

I read someplace that the UFS (some revision of the code) was  written in userland then ported to the kernel.  Is that how McKusick implemented softupdates or snapshots?  The code is so dense I have trouble fathoming writing that much code in the mannor in which I've been tackling it.

When I make a mistake, the machine freeze's, then reboots.  I don't seem to get a kernel dump (or I'm not looking in the right location).

Anway, kind of a broad question I know, just looking for a few tips!

Cheers,
  Shane





Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?20060724185205.17021.qmail>