On 10-03-02 20:24:03, Andre Robatino wrote: > Tony Nelson wrote: > > > That test often fails due to a kernel issue, making good media seem > > bad. I prefer to compare the bits with: > > > # cmp /dev/dvd /path/to/iso > > > If the dvd matches the iso: if there is no kernel issue there will > > be no output; else it will complain about eof on the iso file. If > > the dvd does not match the iso, there will be a specific complaint > > about the first mismatch. > > Reading /dev/dvd in general is not reliable since depending on the > hardware, it may not read exactly the right number of bytes > (hopefully, it will at least read >= the right number, which means > your command would either give an EOF error if the number was > greater, or say the files are identical if it's the same). ... Reading will never return more than the requested number of bytes. It may read past the desired end of a CD or DVD. With that in mind, read what I wrote above. If you don't understand it, ask a question. -- ____________________________________________________________________ TonyN.:' <mailto:tonynelson@xxxxxxxxxxxxxxxxx> ' <http://www.georgeanelson.com/> -- users mailing list users@xxxxxxxxxxxxxxxxxxxxxxx To unsubscribe or change subscription options: https://admin.fedoraproject.org/mailman/listinfo/users Guidelines: http://fedoraproject.org/wiki/Mailing_list_guidelines