Some adjustments in description of compare_file and libisoburn

This commit is contained in:
Thomas Schmitt 2008-02-10 12:10:59 +00:00
parent 89bf2fe4da
commit 3378d048f6
1 changed files with 11 additions and 8 deletions

View File

@ -114,23 +114,26 @@ Like:
Testing Testing
We are quite sure that libisofs produces accurate representations of the disk 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 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 This program is not installed systemwide but stays in the installation
directory of the xorriso tarball as test/compare_file . Usually it is directory of the xorriso tarball as test/compare_file . Usually it is
run as -exec payload of a find command. It takes three arguments: 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 and the prefix2 which gets prepended afterwards to obtain the path of the
second file to compare. 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 ';' \ find /original/dir -exec compare_file '{}' /original/dir /media/dvd ';' \
| less | less
and: and vice versa:
find /media/dvd -exec compare_file '{}' /media/dvd /original/dir ';' | less find /media/dvd -exec compare_file '{}' /media/dvd /original/dir ';' \
| less
libisoburn libisoburn
@ -154,7 +157,7 @@ Dynamic library requirements for libisoburn-0.1.0 :
- libburn.so.4 , version 0.4.2 or higher - libburn.so.4 , version 0.4.2 or higher
- libisofs.so.6 , version 0.6.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.
------------------------------------------------------------------------------ ------------------------------------------------------------------------------