when doing a "diff -uNr" on 2 directories that should be the same, diff will claim that 2 files are different, but when i tried to verify that with cmp file1 file2, the files compare successfully. I pulled an iso image from a cdrom using "dd if=/dev/cdrom of=image.iso" then I mounted the image over loopback using "mount -t iso9660 -o ro,loop=/dev/loop0 image.iso /mnt/image" then mounted the cdrom, and then did a "diff -uNr /mnt/image /mnt/cdrom" in fact, when I mount the same image twice over loopback under seperate directories, I still get errors with diff, so I believe it is a problem with diff itself.
I don't think this is a diff problem anymore. I copied the directory twice to an ext2 filesystem (cp -dpr) from the directories where the images were mounted, and some of the files were not copied (certian files were missed on each run). I imagine it may be something wrong with mounting files over loopback or possibly something with the iso9660 filesystem support. I'm going to burn a second copy of the cd, mount one in a cd drive and the other in my cdrw and then diff it and see what happens.
Still getting similar results with 2 mounted cd's. so it's independant of loopback. Probably something with the iso9660 fs module. I only have CD that this happens on, so it may be that there is something wrong with that CD as well.
did some reseach. This bug looks VERY similar to Bug #9212
gafton, either figure this out or pass to dledford.
*** This bug has been marked as a duplicate of 9212 ***