Subject: CVS commit: src/usr.sbin/makefs
To: None <source-changes@NetBSD.org>
From: James Chacon <jmc@netbsd.org>
List: source-changes
Date: 12/20/2004 20:51:42
Module Name:	src
Committed By:	jmc
Date:		Mon Dec 20 20:51:42 UTC 2004

Modified Files:
	src/usr.sbin/makefs: README ffs.c makefs.c makefs.h
	src/usr.sbin/makefs/ffs: mkfs.c
Added Files:
	src/usr.sbin/makefs: ffs.h

Log Message:
Refactor the filesystem specific portions out of makefs.c/makefs.h completely.
Instead of extending fsinfo_t it now holds a void * to file system specific
data. This is then setup/cleaned up by the additional of 2 additional
callbacks. Makes adding new filesystems simpler as almost no code has
to be updated in the generic makefs code now.


To generate a diff of this commit:
cvs rdiff -r1.2 -r1.3 src/usr.sbin/makefs/README
cvs rdiff -r1.32 -r1.33 src/usr.sbin/makefs/ffs.c
cvs rdiff -r0 -r1.1 src/usr.sbin/makefs/ffs.h
cvs rdiff -r1.20 -r1.21 src/usr.sbin/makefs/makefs.c
cvs rdiff -r1.15 -r1.16 src/usr.sbin/makefs/makefs.h
cvs rdiff -r1.20 -r1.21 src/usr.sbin/makefs/ffs/mkfs.c

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.