Subject: Re: Creating MS-DOS filesystems
To: None <current-users@NetBSD.ORG>
From: der Mouse <mouse@Holo.Rodents.Montreal.QC.CA>
List: current-users
Date: 01/24/1997 13:10:07
>> Perhaps we should have
>> /usr/src/filesystems/{ffs,lfs,msdosfs,adosfs,...}, each of which
>> contains mount/, fsck/, newfs/, and such subdirectories...and
>> potentially others, such as common/.

> With common hopefully containing most of the code and only calling
> fs-specific code using a proper fs-independent interface:-)

Well, what I meant was common/ as a subdirectory of (for example) ffs/,
as a place to put the FFS-specific code that's used by multiple pieces.
fsck and newfs, for example, could (and I think do even at present)
share some code.

Though you're right; quite aside from having a common driver program,
there are probably going to be pieces of (say) fsck_ffs and
fsck_msdosfs that could usefully be shared.  I wasn't attempting to
address that, though putting another common/ directory coeval with ffs
and lfs might be worthwhile.

					der Mouse

			       mouse@rodents.montreal.qc.ca
		     7D C8 61 52 5D E7 2D 39  4E F1 31 3E E8 B3 27 4B