Re: xorriso and the "-md5 on" option [SOLVED]

2019-12-23 Thread Greg Wooledge
On Sun, Dec 22, 2019 at 06:20:11PM +, Brian wrote: > md5sum `find -follow -type f` > md5sum.txt *shudder* This only works if you have a small number of files, none of which have whitespace or globbing characters in their filenames. find . -follow -type f -exec md5sum {} + > md5sum.txt

Re: xorriso and the "-md5 on" option [SOLVED]

2019-12-22 Thread Brian
On Sun 22 Dec 2019 at 09:24:19 +0100, Thomas Schmitt wrote: > Hi, > > i wrote: > > > Others here will surely have proposals how to verify a whole pool tree. > > Brian wrote: > > I can get the MD5sum for each file in the ISO and for each extracted > > file. I suppose it is a matter of

Re: xorriso and the "-md5 on" option

2019-12-22 Thread Thomas Schmitt
Hi, i wrote: > > Others here will surely have proposals how to verify a whole pool tree. Brian wrote: > I can get the MD5sum for each file in the ISO and for each extracted > file. I suppose it is a matter of meaningfully comaparing both lists. If you only want to know whether the extraction

Re: xorriso and the "-md5 on" option

2019-12-21 Thread Charles Curley
On Sat, 21 Dec 2019 23:10:45 + Brian wrote: > Basically, I want to compare the MD5sum (or shaXXXsum) for each > file in the ISO with the MD5sum for each extracted file. Either > during extraction or afterwards. Why? You said earlier, > Will the files in test/ have the same md5sum as the

Re: xorriso and the "-md5 on" option

2019-12-21 Thread Brian
On Sat 21 Dec 2019 at 14:24:28 -0700, Charles Curley wrote: > On Sat, 21 Dec 2019 20:34:42 + > Brian wrote: > > > I trust you have already pulled in and used the checksum file(s) for the > iso itself. If those fail to verify, there isn't much point in > proceeding. Indeed. > > I am

Re: xorriso and the "-md5 on" option

2019-12-21 Thread Brian
On Sat 21 Dec 2019 at 23:21:35 +0100, Thomas Schmitt wrote: > Hi, > > > I am extracting files from a Debian ISO as follows: > > xorriso -osirrox on -md5 on -indev debian-10.2.0-i386-DVD-10.iso -extract > > pool/main test/ > > Will the files in test/ have the same md5sum as the ones in the ISO?

Re: xorriso and the "-md5 on" option

2019-12-21 Thread Thomas Schmitt
mismatched_files You may list checksums and file paths in the ISO by xorriso -md5 on -indev "$the_iso" -find / -exec get_md5 -- >/tmp/md5sums I will consider how i can implement a MD5 check of the extracted data files. But convincing debian-cd and live-wrapper to use xorrisofs

Re: xorriso and the "-md5 on" option

2019-12-21 Thread Charles Curley
On Sat, 21 Dec 2019 20:34:42 + Brian wrote: I trust you have already pulled in and used the checksum file(s) for the iso itself. If those fail to verify, there isn't much point in proceeding. > I am extracting files from a Debian ISO as follows: > > xorriso -osirrox on -md5 on -indev

xorriso and the "-md5 on" option

2019-12-21 Thread Brian
I am extracting files from a Debian ISO as follows: xorriso -osirrox on -md5 on -indev debian-10.2.0-i386-DVD-10.iso -extract pool/main test/ Will the files in test/ have the same md5sum as the ones in the ISO? Obviously, I am looking to obtain uncorrupted files. What will the output show if