"Fossies" - the Fresh Open Source Software Archive  

Source code changes of the file "tests/generators/lib.sh" between
cryptsetup-2.3.6.tar.xz and cryptsetup-2.4.0.tar.xz

About: cryptsetup is a utility used to conveniently setup disk encryption based on the dm-crypt kernel module. These include plain dm-crypt volumes, LUKS volumes, loop-AES and TrueCrypt compatible format.

lib.sh  (cryptsetup-2.3.6.tar.xz):lib.sh  (cryptsetup-2.4.0.tar.xz)
skipping to change at line 175 skipping to change at line 175
_dd if=$1 of=$3 bs=4096 count=1 _dd if=$1 of=$3 bs=4096 count=1
_dd if=$2 of=$3 bs=4096 seek=1 count=$_js _dd if=$2 of=$3 bs=4096 seek=1 count=$_js
} }
function _dd() function _dd()
{ {
dd $@ status=none dd $@ status=none
} }
function write_bin_hdr_size() { function write_bin_hdr_size() {
printf '%016x' $2 | xxd -r -p -l 16 | _dd of=$1 bs=8 count=1 seek=1 conv =notrunc printf '%016x' $2 | xxd -r -p -l 16 | _dd of=$1 bs=8 count=1 seek=1 conv= notrunc
} }
function write_bin_hdr_offset() { function write_bin_hdr_offset() {
printf '%016x' $2 | xxd -r -p -l 16 | _dd of=$1 bs=8 count=1 seek=32 con v=notrunc printf '%016x' $2 | xxd -r -p -l 16 | _dd of=$1 bs=8 count=1 seek=32 conv =notrunc
} }
 End of changes. 2 change blocks. 
2 lines changed or deleted 2 lines changed or added

Home  |  About  |  Features  |  All  |  Newest  |  Dox  |  Diffs  |  RSS Feeds  |  Screenshots  |  Comments  |  Imprint  |  Privacy  |  HTTP(S)