"Jeff V. Merkey" <jmerkey@timpanogas.com> wrote:
> I at present have the NWFS utilities and File System drivers as single
> source base. Obviously, the way your tree is organized, the file system
> driver proper should be in the kernel tree and the file system utitilies
> somewhere else.
Yes.
> Where should I breakout the file system utils and where
> do these go? I noticed stuff for ext2 on www.kernel.org in a utils
> directory. Are the utilities something I should submit as a tar.gz and
> the driver as a patch, or can I leave the utilities in the source tree
> itself.
The utils go in a tarball _you_ maintain. The utils don't strictly belong
to the kernel - only some of the most frequently used are mirrored
on kernel.org.
> It's been coded to have dependencies on most of the files that
> comprise the driver itself, but obviously, this is probably how someone
> who lives on another planet would do it. I also have a single source
> base for all versions of Linux rather than a different file system code
> base for each version, which is how you've got it organized today. This
> part I can get around. What's a little harder is how the utilities
> depend on the driver source files. I can maintain a separate code base
> for the Utilities, however, this means I have to maintain two code bases
> and keep them in sync if bugs get fixed in one or the other.
An alternative would be putting the util-only sources in a separate tarball
and let it use the kernel-level source files. Something like
VPATH = ${srcdir}:${kerneldir}/fs/nwfs
on the top of your Makefile might help.
Christoph
-- Always remember that you are unique. Just like everyone else. - To unsubscribe from this list: send the line "unsubscribe linux-kernel" in the body of a message to majordomo@vger.kernel.org Please read the FAQ at http://www.tux.org/lkml/
This archive was generated by hypermail 2b29 : Thu Sep 07 2000 - 21:00:18 EST