Is there a command that compares a floppy disk image (e.g. a .iso file) to the actual contents of the floppy the image was written on (e.g. /dev/fd0)?
|
A floppy device file is a file. Any command that reads files will work on it.
Pass the
to know how many bytes differ. Run This compares the images byte by byte. If the floppy and the image contain files and you only want to compare the files and not the metadata (file dates, etc.) nor the empty space, mount the floppy and the image and compare the directory trees. |
||||
|
|
I don't have a floppy disk any more to check, but I'd guess:
the |
|||||||||
|
|
Because a floppy device is effectively seen as a file, you can also compare hashes (like SHA1 or MD5) of the floppy device ( |
|||
|
|