Re: [PATCH 1/9] util: storagefile: Drop image format probing by file suffix

2020-02-19 Thread Peter Krempa
On Wed, Feb 19, 2020 at 09:18:40 -0600, Eric Blake wrote: > On 2/17/20 11:13 AM, Peter Krempa wrote: > > Probing by file suffix was meant to be a last resort if probing by > > contents fails or is not supported. For most formats we never specified > > any suffix. There's a few formats implementing

Re: [PATCH 1/9] util: storagefile: Drop image format probing by file suffix

2020-02-19 Thread Eric Blake
On 2/17/20 11:13 AM, Peter Krempa wrote: Probing by file suffix was meant to be a last resort if probing by contents fails or is not supported. For most formats we never specified any suffix. There's a few formats implementing both magic bytes and suffix and finally DMG which had only suffix prob

[PATCH 1/9] util: storagefile: Drop image format probing by file suffix

2020-02-17 Thread Peter Krempa
Probing by file suffix was meant to be a last resort if probing by contents fails or is not supported. For most formats we never specified any suffix. There's a few formats implementing both magic bytes and suffix and finally DMG which had only suffix probing. Since suffix probing is nowhere reliab