|
|
|
@ -111,6 +111,28 @@ Like:
|
|
|
|
|
xorriso -dev stdio:/tmp/pseudo_drive ...more arguments...
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Testing
|
|
|
|
|
|
|
|
|
|
We are quite sure that libisofs produces accurate representations of the disk
|
|
|
|
|
files. This opinion is founded on a lot of tests burns and checks by a little
|
|
|
|
|
test program which compares files from the mounted image with the orignals
|
|
|
|
|
on disk. It uses the normal Linux filesystem calls, i.e. no libburnia stuff.
|
|
|
|
|
|
|
|
|
|
This program is not installed systemwide but stays in the installation
|
|
|
|
|
directory of the xorriso tarball as test/compare_file . Usually it is
|
|
|
|
|
run as -exec payload of a find command. It takes three arguments:
|
|
|
|
|
The file path of the first file to compare, the prefix1 to be cut off from path
|
|
|
|
|
and the prefix2 which gets prepended afterwards to obtain the path of the
|
|
|
|
|
second file to compare.
|
|
|
|
|
|
|
|
|
|
To compare tree /media/dvd and /original/dir :
|
|
|
|
|
find /original/dir -exec compare_file '{}' /original/dir /media/dvd ';' \
|
|
|
|
|
| less
|
|
|
|
|
and:
|
|
|
|
|
find /media/dvd -exec compare_file '{}' /media/dvd /original/dir ';' | less
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libisoburn
|
|
|
|
|
|
|
|
|
|
xorriso is based on libisofs which does ISO 9600 filesystem aspects and on
|
|
|
|
|