mnx_diff - find differences between hard disk and floppy MINIX
SYNOPSYS
mnx_diff
[drive]
output-name
DESCRIPTION
Mnx_diff
selects all the files that are different between those on the hard disk
and those on a set of floppies created with
mnx_backup(1)
and puts them in a directory named
output-name
and a compressed tarfile named
output-name.tar.Z.
The optional
drive
argument may be used to select a drive other than
/dev/fd0
in the same way as
mnx_backup.
Suggested Use
The best way to use this program is as follows:
-
First make sure that your version works, load it onto the hard disk and run
make hdboot
to make sure that it compiles. Test it.
Check that everything looks as you want it to, no unnecessary files
lingering around. Make sure that your extra tools are in
/usr/src/extra.
Use
mnx_backup
to save your files on a set of backup diskettes.
Run
mnx_fresh
as root to put the machine back in its original state.
Finally it is time to run
mnx_diff.
Type
cd
to get back to
/usr/src,
and run the following command
(kjb
is just some random persons login-name, anything goes):
-
mnx_diff kjb
It will ask you to insert floppies, compares and extracts changed files
from the all the directories on backup. Except for the
tools
directory, from it only the important file
image
is copied, because it contains the kernel to be tested.
Copying to UNIX
Mnx_diff
leaves two results, one directory containing all the files that it found
different (check this), and a compressed tarfile of the same stuff.
To get the latter file to a UNIX host you can use the
ftp
command, for example:
-
! ftp keg
220 keg FTP server (UNIX(r) System V Release 4.0) ready.
Username: kjb
Password: ********
230 User kjb logged in.
ftp>binary
200 Type set to I.
ftp>put kjb.tar.Z
200 Port command okay.
150 Binary data connection for kjb.tar.Z (192.35.192.204,32788).
Sent 987654 bytes
226 Transfer finished successfully. 207.50 KB/s
ftp>bye
221 Goodbye.
FTP done.
You can now use
uuencode(1)
and email to submit your work.
SEE ALSO
mnx_fresh(1),
tar(1),
compress(1),
cmp(1).
diff(1).
AUTHOR
Kees J. Bot (kjb@cs.vu.nl)
Markup created by unroff 1.0, August 19, 1997.