|
|
|
@ -114,23 +114,26 @@ Like:
|
|
|
|
|
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
|
|
|
|
|
files. This opinion is founded on a lot of test 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.
|
|
|
|
|
on disk. It uses the normal POSIX 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
|
|
|
|
|
The 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 :
|
|
|
|
|
Example: After
|
|
|
|
|
xorriso ... -pathspecs on -add /=/original/dir --
|
|
|
|
|
mount /media/dvd
|
|
|
|
|
compare tree /media/dvd with tree /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
|
|
|
|
|
|
|
|
|
|
and vice versa:
|
|
|
|
|
find /media/dvd -exec compare_file '{}' /media/dvd /original/dir ';' \
|
|
|
|
|
| less
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
libisoburn
|
|
|
|
@ -154,7 +157,7 @@ Dynamic library requirements for libisoburn-0.1.0 :
|
|
|
|
|
- libburn.so.4 , version 0.4.2 or higher
|
|
|
|
|
- libisofs.so.6 , version 0.6.2 or higher
|
|
|
|
|
|
|
|
|
|
Standalone xorriso has less runtime dependencies and can be copied more freely.
|
|
|
|
|
Standalone xorriso has less runtime dependencies and can be moved more freely.
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
------------------------------------------------------------------------------
|
|
|
|
|