Package: file Version: 4.12-1 Severity: wishlist Tags: patch file(1) presently only properly understands earlier (<=2) versioned COW images -- version 3 (the current, AFAIK) embeds the backing file information later in the file header.
The following replacement snippet provides correct information on version 3 COW files. I *think* it should still work earlier versions, but I don't have any older ones to try it with. Not that anyone should still have old COW files around... <grin> This may not be the best way to encode the information; feel free to make it tidier. # From Matt Zimmerman, enhanced for v3 by Matthew Palmer 0 belong 0x4f4f4f4d User-mode Linux COW file >4 belong <3 \b, version %d >>8 string >\0 \b, backing file %s >4 belong >2 \b, version %d >>32 string >\0 \b, backing file %s Thanks, - Matt -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]