On Wed, May 23, 2012 at 04:29:51PM +0200, Marc-André Lureau wrote: > On Wed, May 23, 2012 at 4:25 PM, Daniel P. Berrange <berrange@xxxxxxxxxx> wrote: > > We should not assume we either have access to the ISO image, nor > > rely on the output format of an external command. iso-info may change > > the way it formats data. We might not even have the ISO image, for > > Yeah, I didn't mean to use exactly that command, but rather as an approach: > extract as many fields/metadata that can be extracted quckly: > System/Volume/iso9660 tree/size etc.. and do a checksum of all this to I'm not sure the directory listing of an ISO image is stored consecutively at the beginning of an ISO. If we have to seek to get this, this may be expensive on remote medias. Probably not much more expensive than checksumming N MB from the ISO. Christophe
Attachment:
pgpPDVFAICbqq.pgp
Description: PGP signature