To submit project 1, we will basically ask you to do the
same thing
that "real" software distributions do in the unix
world -- create a
patch. A patch is a file that notes differences
between two files
or directories. This file can be created via the
diff command, and
be used via the patch command. We encourage you
to look up the man
pages for both of these. We have also provided
a link on the resource
page with more information about these commands.
In order to create the patch, assume that a "clean"
version of the
kernel (i.e. what you get when you untar the distribution
with *no*
changes) is in the directory /usr/src/linux, and
your own modified
kernel is in /usr/src/mylinux.
Use the command
diff -rcP /usr/src/linux /usr/src/mylinux > /tmp/diffout
The /tmp/diffout file now contains all the information
that the patch
commands needs to transform a clean version of
the linux kernel in
our machine to the modified kernel you had created.
Before you
execute this command, we do suggest that you use
make clean or make
mrproper to remove all the executables, since we
are only interested
in the changes you make to the sources.
You will submit at least 2 files -- the file that
has the output
of the diff command, and a README file. The README
file should contain
all the information we need to evaluate your project,
including such
mundane stuff as who is in your group, and what
kernel version you used.
If there are any files that you had to change outside
the kernel source,
please submit them as well, with explanations/instructions
in the README
file.