Re: Suggest a tool for decoding binary data

2014-02-02 Thread Chen Wei
On Sat, Feb 01, 2014 at 05:36:19PM -0800, Kevin O'Gorman wrote: I'm about to tackle GPT partitioned disks, and want to decode the label. The data is little-endian, but I want my code to work on little- or big-endian machines. I want it to be a script -- nothing compiled. I've figured out

Re: Suggest a tool for decoding binary data

2014-02-02 Thread Kevin O'Gorman
On Sun, Feb 2, 2014 at 1:28 AM, Chen Wei weichen...@icloud.com wrote: On Sat, Feb 01, 2014 at 05:36:19PM -0800, Kevin O'Gorman wrote: I'm about to tackle GPT partitioned disks, and want to decode the label. The data is little-endian, but I want my code to work on little- or big-endian

Suggest a tool for decoding binary data

2014-02-01 Thread Kevin O'Gorman
I've been working on homegrown backups for a while. I like using standard UNIX tools because the backups are usable on any *NIX system. I'm about to tackle GPT partitioned disks, and want to decode the label. I need it because i like to take dd-style dumps of the partition info, including the

Re: Suggest a tool for decoding binary data

2014-02-01 Thread Scott Ferguson
On 02/02/14 12:36, Kevin O'Gorman wrote: I've been working on homegrown backups for a while. I like using standard UNIX tools because the backups are usable on any *NIX system. I'm about to tackle GPT partitioned disks, and want to decode the label. I need it because i like to take